Skip to content

Commit 4ffde2f

Browse files
committed
Move deprecation to interface
1 parent a74ab58 commit 4ffde2f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/Container.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public function getServiceIdsForTag(string $tag): array;
2929

3030
/**
3131
* @return mixed
32+
* @deprecated Use parameter() to return a value object instead.
3233
*/
3334
public function getParameter(string $name);
3435

lib/PhpactorContainer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ public function register(string $serviceId, Closure $factory, array $tags = []):
113113
}
114114
}
115115

116-
/**
117-
* @deprecated Use parameter() to return a value object instead.
118-
*/
119116
public function getParameter(string $name)
120117
{
121118
if (!array_key_exists($name, $this->parameters)) {

0 commit comments

Comments
 (0)