@@ -35,8 +35,8 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * Updates fiile permissions on Flush |
| 37 | 37 | * |
| 38 | - * @param OnFlushEventArgs $eventArgs |
|
| 39 | - * @return boolean |
|
| 38 | + * @param LifecycleEventArgs $eventArgs |
|
| 39 | + * @return boolean|null |
|
| 40 | 40 | */ |
| 41 | 41 | public function postRemoveEntity(LifecycleEventArgs $eventArgs) |
| 42 | 42 | { |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | * Updates fiile permissions on Flush |
| 36 | 36 | * |
| 37 | 37 | * @param OnFlushEventArgs $eventArgs |
| 38 | - * @return boolean |
|
| 38 | + * @return boolean|null |
|
| 39 | 39 | */ |
| 40 | 40 | public function onFlush(OnFlushEventArgs $eventArgs) |
| 41 | 41 | { |
@@ -106,7 +106,6 @@ discard block |
||
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | 108 | * @param $name |
| 109 | - * @param array $params |
|
| 110 | 109 | * |
| 111 | 110 | * @return string |
| 112 | 111 | */ |
@@ -117,6 +116,7 @@ discard block |
||
| 117 | 116 | |
| 118 | 117 | /** |
| 119 | 118 | * @When /^I hover over the element "([^"]*)"$/ |
| 119 | + * @param string $locator |
|
| 120 | 120 | */ |
| 121 | 121 | public function iHoverOverTheElement($locator) |
| 122 | 122 | { |
@@ -261,10 +261,10 @@ discard block |
||
| 261 | 261 | } |
| 262 | 262 | |
| 263 | 263 | /** |
| 264 | - * @param $locator |
|
| 264 | + * @param string $locator |
|
| 265 | 265 | * @param string $selector |
| 266 | 266 | * |
| 267 | - * @return \Behat\Mink\Element\NodeElement|mixed|null |
|
| 267 | + * @return \Behat\Mink\Element\NodeElement|null |
|
| 268 | 268 | */ |
| 269 | 269 | public function getElement($locator, $selector='css') |
| 270 | 270 | { |
@@ -219,6 +219,9 @@ discard block |
||
| 219 | 219 | $this->startLogin($user, 'test'); |
| 220 | 220 | } |
| 221 | 221 | |
| 222 | + /** |
|
| 223 | + * @param string $password |
|
| 224 | + */ |
|
| 222 | 225 | private function startLogin(UserInterface $user, $password) |
| 223 | 226 | { |
| 224 | 227 | $currentUser = $this->currentUser; |
@@ -264,7 +267,7 @@ discard block |
||
| 264 | 267 | * @param string $fullname |
| 265 | 268 | * @param string $role |
| 266 | 269 | * |
| 267 | - * @return \Auth\Entity\UserInterface |
|
| 270 | + * @return \Core\Entity\EntityInterface |
|
| 268 | 271 | */ |
| 269 | 272 | public function createUser($email, $password, $role=User::ROLE_RECRUITER, $fullname="Test Recruiter") |
| 270 | 273 | { |
@@ -374,7 +374,6 @@ |
||
| 374 | 374 | } |
| 375 | 375 | |
| 376 | 376 | /** |
| 377 | - * @param mixed $element |
|
| 378 | 377 | * @return mixed |
| 379 | 378 | */ |
| 380 | 379 | protected function getElement($key) |
@@ -201,6 +201,7 @@ |
||
| 201 | 201 | * Try to create relative symlink. |
| 202 | 202 | * |
| 203 | 203 | * Falling back to absolute symlink and finally hard copy. |
| 204 | + * @param string $targetDir |
|
| 204 | 205 | */ |
| 205 | 206 | private function relativeSymlinkWithFallback($originDir, $targetDir) |
| 206 | 207 | { |
@@ -153,6 +153,9 @@ |
||
| 153 | 153 | $this->runCommand($command); |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | + /** |
|
| 157 | + * @param string $command |
|
| 158 | + */ |
|
| 156 | 159 | private function runCommand($command) |
| 157 | 160 | { |
| 158 | 161 | if ($this->io->getVerbosity() === OutputInterface::VERBOSITY_DEBUG) { |
@@ -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) |