@@ -98,7 +98,7 @@ |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @param object $identity |
|
| 101 | + * @param \DoctrineModuleTest\Authentication\Adapter\TestAsset\IdentityObject $identity |
|
| 102 | 102 | * @return void |
| 103 | 103 | */ |
| 104 | 104 | public function write($identity) |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @return mixed |
|
| 64 | + * @return string |
|
| 65 | 65 | */ |
| 66 | 66 | public function getMessage() |
| 67 | 67 | { |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | /** |
| 142 | - * @return ObjectManager |
|
| 142 | + * @return string |
|
| 143 | 143 | */ |
| 144 | 144 | public function getObjectManager() |
| 145 | 145 | { |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | } |
| 290 | 290 | |
| 291 | 291 | /** |
| 292 | - * @return \Zend\Authentication\Storage\StorageInterface|string |
|
| 292 | + * @return string |
|
| 293 | 293 | */ |
| 294 | 294 | public function getStorage() |
| 295 | 295 | { |
@@ -399,9 +399,9 @@ |
||
| 399 | 399 | * changing the collection of the object |
| 400 | 400 | * |
| 401 | 401 | * @param object $object |
| 402 | - * @param mixed $collectionName |
|
| 402 | + * @param string $collectionName |
|
| 403 | 403 | * @param string $target |
| 404 | - * @param mixed $values |
|
| 404 | + * @param DateTime $values |
|
| 405 | 405 | * |
| 406 | 406 | * @throws \InvalidArgumentException |
| 407 | 407 | * |
@@ -286,7 +286,7 @@ discard block |
||
| 286 | 286 | } |
| 287 | 287 | |
| 288 | 288 | /** |
| 289 | - * @return mixed |
|
| 289 | + * @return string |
|
| 290 | 290 | */ |
| 291 | 291 | public function getProperty() |
| 292 | 292 | { |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | } |
| 369 | 369 | |
| 370 | 370 | /** |
| 371 | - * @return mixed |
|
| 371 | + * @return boolean|null |
|
| 372 | 372 | */ |
| 373 | 373 | public function getIsMethod() |
| 374 | 374 | { |
@@ -114,11 +114,17 @@ |
||
| 114 | 114 | return $this->paramValueToObject($className, $value, $default); |
| 115 | 115 | } |
| 116 | 116 | |
| 117 | + /** |
|
| 118 | + * @param string|null $className |
|
| 119 | + */ |
|
| 117 | 120 | protected function classNameToParamName($className) |
| 118 | 121 | { |
| 119 | 122 | return strtolower(substr($className, strrpos($className, '\\') + 1)); |
| 120 | 123 | } |
| 121 | 124 | |
| 125 | + /** |
|
| 126 | + * @param string|null $className |
|
| 127 | + */ |
|
| 122 | 128 | protected function paramValueToObject($className, $value, $default) |
| 123 | 129 | { |
| 124 | 130 | if ($value === null) { |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * @param string $requestedName |
| 44 | 44 | * @param null|array $options |
| 45 | 45 | * |
| 46 | - * @return object |
|
| 46 | + * @return CliController |
|
| 47 | 47 | * @throws ServiceNotFoundException if unable to resolve the service. |
| 48 | 48 | * @throws ServiceNotCreatedException if an exception is raised when creating a service. |
| 49 | 49 | * @throws ContainerException if any other error occurs |