@@ -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 |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | - * @return mixed |
|
| 61 | + * @return null|string |
|
| 62 | 62 | */ |
| 63 | 63 | abstract protected function getUri(); |
| 64 | 64 | |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * @param string $requestedName |
| 32 | 32 | * @param null|array $options |
| 33 | 33 | * |
| 34 | - * @return object |
|
| 34 | + * @return Locale |
|
| 35 | 35 | * @throws ServiceNotFoundException if unable to resolve the service. |
| 36 | 36 | * @throws ServiceNotCreatedException if an exception is raised when |
| 37 | 37 | * creating a service. |
@@ -16,6 +16,9 @@ discard block |
||
| 16 | 16 | |
| 17 | 17 | class MailServiceConfig extends Config |
| 18 | 18 | { |
| 19 | + /** |
|
| 20 | + * @return \Zend\Mail\Transport\TransportInterface |
|
| 21 | + */ |
|
| 19 | 22 | public function getTransport() |
| 20 | 23 | { |
| 21 | 24 | return isset($this->config['transport']) |
@@ -40,6 +43,9 @@ discard block |
||
| 40 | 43 | return null; |
| 41 | 44 | } |
| 42 | 45 | |
| 46 | + /** |
|
| 47 | + * @return string |
|
| 48 | + */ |
|
| 43 | 49 | public function getMailer() |
| 44 | 50 | { |
| 45 | 51 | return isset($this->data['mailer']) |