@@ -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. |
@@ -54,6 +54,9 @@ discard block |
||
54 | 54 | return $this->coreContext->generateUrl($url); |
55 | 55 | } |
56 | 56 | |
57 | + /** |
|
58 | + * @param string $url |
|
59 | + */ |
|
57 | 60 | public function visit($url) |
58 | 61 | { |
59 | 62 | $this->coreContext->iVisit($this->generateUrl($url)); |
@@ -69,7 +72,7 @@ discard block |
||
69 | 72 | } |
70 | 73 | |
71 | 74 | /** |
72 | - * @param $id |
|
75 | + * @param string $id |
|
73 | 76 | * |
74 | 77 | * @return RepositoryInterface |
75 | 78 | */ |
@@ -76,8 +76,7 @@ discard block |
||
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
79 | - * @param $name |
|
80 | - * @param array $params |
|
79 | + * @param string $name |
|
81 | 80 | * |
82 | 81 | * @return string |
83 | 82 | */ |
@@ -88,6 +87,7 @@ discard block |
||
88 | 87 | |
89 | 88 | /** |
90 | 89 | * @When /^I hover over the element "([^"]*)"$/ |
90 | + * @param string $locator |
|
91 | 91 | */ |
92 | 92 | public function iHoverOverTheElement($locator) |
93 | 93 | { |
@@ -163,6 +163,9 @@ discard block |
||
163 | 163 | $this->getSession()->switchToWindow('main_window'); |
164 | 164 | } |
165 | 165 | |
166 | + /** |
|
167 | + * @param string $url |
|
168 | + */ |
|
166 | 169 | public function iVisit($url) |
167 | 170 | { |
168 | 171 | $this->minkContext->getSession()->visit($url); |
@@ -233,10 +236,10 @@ discard block |
||
233 | 236 | } |
234 | 237 | |
235 | 238 | /** |
236 | - * @param $locator |
|
239 | + * @param string $locator |
|
237 | 240 | * @param string $selector |
238 | 241 | * |
239 | - * @return \Behat\Mink\Element\NodeElement|mixed|null |
|
242 | + * @return \Behat\Mink\Element\NodeElement|null |
|
240 | 243 | */ |
241 | 244 | public function getElement($locator,$selector='css') |
242 | 245 | { |
@@ -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) |