@@ -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 | { |
@@ -26,7 +26,6 @@ |
||
26 | 26 | use Zend\ModuleManager\ModuleManagerInterface; |
27 | 27 | use Zend\EventManager\EventInterface; |
28 | 28 | use Zend\Console\Adapter\AdapterInterface as Console; |
29 | - |
|
30 | 29 | use Symfony\Component\Console\Input\StringInput; |
31 | 30 | use DoctrineModule\Component\Console\Output\PropertyOutput; |
32 | 31 |
@@ -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 | { |
@@ -23,7 +23,6 @@ |
||
23 | 23 | use Doctrine\Common\Persistence\ObjectManager; |
24 | 24 | use Doctrine\Common\Persistence\ObjectRepository; |
25 | 25 | use Zend\Authentication\Adapter\Exception; |
26 | -use Zend\Authentication\Storage\Session as SessionStorage; |
|
27 | 26 | use Zend\Authentication\Storage\StorageInterface; |
28 | 27 | use Zend\Stdlib\AbstractOptions; |
29 | 28 |
@@ -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 | { |
@@ -20,10 +20,8 @@ |
||
20 | 20 | namespace DoctrineModuleTest; |
21 | 21 | |
22 | 22 | use PHPUnit_Framework_TestCase; |
23 | -use PHPUnit_Framework_Assert; |
|
24 | 23 | use PHPUnit_Framework_MockObject_MockObject; |
25 | 24 | use DoctrineModule\Module; |
26 | -use DoctrineModuleTest\ServiceManagerFactory; |
|
27 | 25 | use Symfony\Component\Console\Output\OutputInterface; |
28 | 26 | use Symfony\Component\Console\Input\InputInterface; |
29 | 27 |
@@ -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 |