@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Full scope info |
45 | 45 | * |
46 | - * @param sting $id |
|
46 | + * @param string $id |
|
47 | 47 | * @return array |
48 | 48 | * @access protected |
49 | 49 | */ |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | * |
251 | 251 | * @param callable $callable |
252 | 252 | * @param array $arguments |
253 | - * @return array the matched arguments |
|
253 | + * @return callable the matched arguments |
|
254 | 254 | * @throws LogicException if something goes wrong |
255 | 255 | * @access protected |
256 | 256 | */ |
@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | /** |
334 | 334 | * Is $parameter same type as the $argument ? |
335 | 335 | * |
336 | - * @param \ReflectionParameter $parameter |
|
336 | + * @param \ReflectionParameter $parameters |
|
337 | 337 | * @param mixed $argument |
338 | 338 | * @param null|string $class |
339 | 339 | * @return bool |
@@ -377,7 +377,7 @@ discard block |
||
377 | 377 | /** |
378 | 378 | * Is $var an object with '__invoke()' defined |
379 | 379 | * |
380 | - * @param mixed $var |
|
380 | + * @param callable $var |
|
381 | 381 | * @return bool |
382 | 382 | * @access protected |
383 | 383 | */ |
@@ -46,8 +46,7 @@ |
||
46 | 46 | public function share(/*# bool */ $shared = true) |
47 | 47 | { |
48 | 48 | $this->default_scope = (bool) $shared ? |
49 | - ScopeInterface::SCOPE_SHARED : |
|
50 | - ScopeInterface::SCOPE_SINGLE ; |
|
49 | + ScopeInterface::SCOPE_SHARED : ScopeInterface::SCOPE_SINGLE; |
|
51 | 50 | return $this; |
52 | 51 | } |
53 | 52 |