@@ -99,7 +99,6 @@ |
||
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | /** |
| 102 | - * @param ControllerManager $controllerManager |
|
| 103 | 102 | * @return \Auth\Controller\Plugin\Auth |
| 104 | 103 | */ |
| 105 | 104 | public static function factory(ServiceManager $sm) |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * @param string $requestedName |
| 26 | 26 | * @param null|array $options |
| 27 | 27 | * |
| 28 | - * @return object |
|
| 28 | + * @return RegisterConfirmation |
|
| 29 | 29 | * @throws ServiceNotFoundException if unable to resolve the service. |
| 30 | 30 | * @throws ServiceNotCreatedException if an exception is raised when |
| 31 | 31 | * creating a service. |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @param string $requestedName |
| 25 | 25 | * @param null|array $options |
| 26 | 26 | * |
| 27 | - * @return object |
|
| 27 | + * @return UserUniqueTokenGenerator |
|
| 28 | 28 | * @throws ServiceNotFoundException if unable to resolve the service. |
| 29 | 29 | * @throws ServiceNotCreatedException if an exception is raised when |
| 30 | 30 | * creating a service. |
@@ -31,6 +31,7 @@ discard block |
||
| 31 | 31 | * |
| 32 | 32 | * @When /^(?:|I )fill in select2 "(?P<field>(?:[^"]|\\")*)" with "(?P<value>(?:[^"]|\\")*)"$/ |
| 33 | 33 | * @When /^(?:|I )fill in select2 "(?P<value>(?:[^"]|\\")*)" for "(?P<field>(?:[^"]|\\")*)"$/ |
| 34 | + * @param string $field |
|
| 34 | 35 | */ |
| 35 | 36 | public function iFillInSelect2Field($field, $value) |
| 36 | 37 | { |
@@ -42,7 +43,7 @@ discard block |
||
| 42 | 43 | |
| 43 | 44 | /** |
| 44 | 45 | * @When I fill in select2 search :field with :search and I choose :choice |
| 45 | - * @param $field |
|
| 46 | + * @param string $field |
|
| 46 | 47 | * @param $value |
| 47 | 48 | */ |
| 48 | 49 | public function iFillInSelect2FieldWith($field,$search,$choice=null) |
@@ -198,6 +198,9 @@ discard block |
||
| 198 | 198 | $this->startLogin($user,'test'); |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | + /** |
|
| 202 | + * @param string $password |
|
| 203 | + */ |
|
| 201 | 204 | private function startLogin(UserInterface $user, $password) |
| 202 | 205 | { |
| 203 | 206 | $currentUser = $this->currentUser; |
@@ -242,7 +245,7 @@ discard block |
||
| 242 | 245 | * @param string $fullname |
| 243 | 246 | * @param string $role |
| 244 | 247 | * |
| 245 | - * @return \Auth\Entity\UserInterface |
|
| 248 | + * @return \Core\Entity\EntityInterface |
|
| 246 | 249 | */ |
| 247 | 250 | public function createUser($email,$password,$role=User::ROLE_RECRUITER,$fullname="Test Recruiter") |
| 248 | 251 | { |
@@ -128,7 +128,6 @@ |
||
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | - * @param ControllerManager $controllerManager |
|
| 132 | 131 | * @return CreatePaginator |
| 133 | 132 | * @codeCoverageIgnore |
| 134 | 133 | */ |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * @param array $defaultParams |
| 47 | 47 | * @param bool $usePostParams |
| 48 | 48 | * |
| 49 | - * @return mixed |
|
| 49 | + * @return ZendPaginator |
|
| 50 | 50 | */ |
| 51 | 51 | public function __invoke($paginatorName, $defaultParams = array(), $usePostParams = false) |
| 52 | 52 | { |
@@ -106,7 +106,6 @@ discard block |
||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | - * @param ControllerManager $controllerManager |
|
| 110 | 109 | * @return CreatePaginatorService |
| 111 | 110 | */ |
| 112 | 111 | public static function factory(ContainerInterface $container) |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | protected $generator; |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | - * @param $serviceLocator |
|
| 53 | + * @param \Interop\Container\ContainerInterface $serviceLocator |
|
| 54 | 54 | * @return $this |
| 55 | 55 | */ |
| 56 | 56 | public function setServiceLocator($serviceLocator) |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | - * @return mixed |
|
| 81 | + * @return RepositoryInterface |
|
| 82 | 82 | */ |
| 83 | 83 | public function getRepositories() |
| 84 | 84 | { |
@@ -60,8 +60,8 @@ |
||
| 60 | 60 | * |
| 61 | 61 | * If no event instance is passed, it creates one prior to triggering. |
| 62 | 62 | * |
| 63 | - * @param EventInterface|string $eventName |
|
| 64 | - * @param object|string|null $target |
|
| 63 | + * @param EventInterface $eventName |
|
| 64 | + * @param \Core\Controller\AdminController $target |
|
| 65 | 65 | * @param array $argv |
| 66 | 66 | * |
| 67 | 67 | * @return \Zend\EventManager\ResponseCollection |