@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * @throws Mapping\MappingException |
53 | 53 | * @throws LockException |
54 | 54 | * @throws UserDeactivatedException |
55 | - * @return null | UserInterface |
|
55 | + * @return null|UserInterface | UserInterface |
|
56 | 56 | */ |
57 | 57 | public function find($id, $lockMode = \Doctrine\ODM\MongoDB\LockMode::NONE, $lockVersion = null, array $options = []) |
58 | 58 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * @param array $criteria |
64 | 64 | * @param array $options |
65 | 65 | * @throws UserDeactivatedException |
66 | - * @return null | UserInterface |
|
66 | + * @return null|UserInterface | UserInterface |
|
67 | 67 | */ |
68 | 68 | public function findOneBy(array $criteria, array $options = []) |
69 | 69 | { |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * Creates a User |
93 | 93 | * |
94 | 94 | * @see \Core\Repository\AbstractRepository::create() |
95 | - * @return UserInterface |
|
95 | + * @return \Core\Entity\EntityInterface |
|
96 | 96 | */ |
97 | 97 | public function create(array $data = null) |
98 | 98 | { |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * @param UserInterface $user |
268 | 268 | * @param array $options |
269 | 269 | * @throws UserDeactivatedException |
270 | - * @return null | UserInterface |
|
270 | + * @return null|UserInterface | UserInterface |
|
271 | 271 | */ |
272 | 272 | protected function assertEntity(UserInterface $user = null, array $options) |
273 | 273 | { |
@@ -54,6 +54,7 @@ |
||
54 | 54 | * ManageController constructor. |
55 | 55 | * |
56 | 56 | * @param RepositoryService $repositories |
57 | + * @param ContainerInterface $container |
|
57 | 58 | */ |
58 | 59 | public function __construct( |
59 | 60 | RepositoryService $repositories, |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @return mixed |
|
171 | + * @return string |
|
172 | 172 | */ |
173 | 173 | public function getStatus() |
174 | 174 | { |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | } |
177 | 177 | |
178 | 178 | /** |
179 | - * @return mixed |
|
179 | + * @return boolean |
|
180 | 180 | */ |
181 | 181 | public function isPostRequest() |
182 | 182 | { |
@@ -79,7 +79,7 @@ |
||
79 | 79 | * @param $locale |
80 | 80 | * @param $urlHelper |
81 | 81 | * @param array $forms |
82 | - * @param $options |
|
82 | + * @param ModuleOptions $options |
|
83 | 83 | */ |
84 | 84 | public function __construct( |
85 | 85 | AuthenticationService $auth, |
@@ -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 | { |