@@ -371,7 +371,7 @@ discard block |
||
| 371 | 371 | * |
| 372 | 372 | * @param string $property |
| 373 | 373 | * the name of the property |
| 374 | - * @param object $object |
|
| 374 | + * @param string $object |
|
| 375 | 375 | * the object to be set |
| 376 | 376 | * @return $this |
| 377 | 377 | */ |
@@ -466,7 +466,7 @@ discard block |
||
| 466 | 466 | * The name of the service to update the definition for |
| 467 | 467 | * @param string $property |
| 468 | 468 | * The name of the property to update. |
| 469 | - * @param mixed $value |
|
| 469 | + * @param string $value |
|
| 470 | 470 | * The value to set |
| 471 | 471 | * @param boolean $append |
| 472 | 472 | * Whether to append (the default) when the property is an array |
@@ -788,7 +788,7 @@ discard block |
||
| 788 | 788 | /** |
| 789 | 789 | * @deprecated 4.0.0:5.0.0 Use Injector::has() instead |
| 790 | 790 | * @param $name |
| 791 | - * @return string |
|
| 791 | + * @return boolean |
|
| 792 | 792 | */ |
| 793 | 793 | public function hasService($name) |
| 794 | 794 | { |
@@ -997,6 +997,7 @@ discard block |
||
| 997 | 997 | * |
| 998 | 998 | * @param string $name |
| 999 | 999 | * @param mixed $argument,... arguments to pass to the constructor |
| 1000 | + * @param string $argument |
|
| 1000 | 1001 | * @return mixed A new instance of the specified object |
| 1001 | 1002 | */ |
| 1002 | 1003 | public function create($name, $argument = null) |