@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * |
93 | 93 | * @param string $service |
94 | 94 | * @param string[] $delegators |
95 | - * @return callable |
|
95 | + * @return \Closure |
|
96 | 96 | */ |
97 | 97 | private function createDelegator($service, array $delegators) |
98 | 98 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | * Create a reducer for a chained prepare() |
107 | 107 | * |
108 | 108 | * @param string $service |
109 | - * @return callable |
|
109 | + * @return \Closure |
|
110 | 110 | */ |
111 | 111 | private function delegatorReducer(Injector $injector, $service) |
112 | 112 | { |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * @param callable $delegator that will be ultimately called |
127 | 127 | * @param string $service name of service being prepared |
128 | 128 | * @param callable $callable that returns the instance |
129 | - * @return callable |
|
129 | + * @return \Closure |
|
130 | 130 | */ |
131 | 131 | private function curryDelegator(callable $delegator, $service, callable $callable) |
132 | 132 | { |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | * Also known as a "kestrel" or "k combinator". |
142 | 142 | * |
143 | 143 | * @param mixed $x |
144 | - * @return callable |
|
144 | + * @return \Closure |
|
145 | 145 | */ |
146 | 146 | private function k($x) |
147 | 147 | { |