@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | /** |
| 45 | 45 | * Get required modules for Yawik |
| 46 | 46 | * |
| 47 | - * @return array |
|
| 47 | + * @return string[] |
|
| 48 | 48 | */ |
| 49 | 49 | public static function getRequiredModules() |
| 50 | 50 | { |
@@ -89,7 +89,6 @@ discard block |
||
| 89 | 89 | * Run application |
| 90 | 90 | * @param mixed|array $appConfig |
| 91 | 91 | * |
| 92 | - * @param bool $run |
|
| 93 | 92 | * @return bool|ZendApplication |
| 94 | 93 | */ |
| 95 | 94 | public static function initApplication($appConfig = null) |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | } |
| 361 | 361 | |
| 362 | 362 | /** |
| 363 | - * @param Status|string $status |
|
| 363 | + * @param string $status |
|
| 364 | 364 | */ |
| 365 | 365 | public function setStatus($status) |
| 366 | 366 | { |
@@ -415,6 +415,9 @@ discard block |
||
| 415 | 415 | } |
| 416 | 416 | } |
| 417 | 417 | |
| 418 | + /** |
|
| 419 | + * @param UserInterface $oldUser |
|
| 420 | + */ |
|
| 418 | 421 | private function updatePermissions($oldUser = null) |
| 419 | 422 | { |
| 420 | 423 | $hasPermissions = (bool) $this->permissions; |
@@ -38,6 +38,9 @@ |
||
| 38 | 38 | protected $country; |
| 39 | 39 | |
| 40 | 40 | |
| 41 | + /** |
|
| 42 | + * @param string $uri |
|
| 43 | + */ |
|
| 41 | 44 | public function __construct($uri, $country="DE", $cache = false) |
| 42 | 45 | { |
| 43 | 46 | $this->country = $country; |
@@ -52,8 +52,8 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * Returns true, if the user has write access to the job granted from the organization. |
| 54 | 54 | * |
| 55 | - * @param RoleInterface $role This must be a UserInterface instance |
|
| 56 | - * @param ResourceInterface $resource This must be a JobInterface instance |
|
| 55 | + * @param UserInterface $role This must be a UserInterface instance |
|
| 56 | + * @param JobInterface $resource This must be a JobInterface instance |
|
| 57 | 57 | * |
| 58 | 58 | * @return bool |
| 59 | 59 | */ |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | * |
| 199 | 199 | * @param bool $isDeleted Value of the isDeleted flag. Pass "null" to ignore this field. |
| 200 | 200 | * |
| 201 | - * @return Query\Builder |
|
| 201 | + * @return string|null |
|
| 202 | 202 | */ |
| 203 | 203 | public function createQueryBuilder($isDeleted = false) |
| 204 | 204 | { |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | * |
| 282 | 282 | * @param bool $returnSelf returns itself, if this organization does not have a parent? |
| 283 | 283 | * |
| 284 | - * @return null|OrganizationInterface |
|
| 284 | + * @return Organization|null |
|
| 285 | 285 | */ |
| 286 | 286 | public function getParent($returnSelf = false) |
| 287 | 287 | { |
@@ -697,7 +697,7 @@ discard block |
||
| 697 | 697 | /** |
| 698 | 698 | * Sets the the list of employees |
| 699 | 699 | * |
| 700 | - * @param Collection $employees |
|
| 700 | + * @param ArrayCollection $employees |
|
| 701 | 701 | * |
| 702 | 702 | * @return $this |
| 703 | 703 | */ |
@@ -31,6 +31,11 @@ |
||
| 31 | 31 | return $this->hydrator; |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $name |
|
| 36 | + * |
|
| 37 | + * @return callable |
|
| 38 | + */ |
|
| 34 | 39 | protected function getPlugin($name) |
| 35 | 40 | { |
| 36 | 41 | $plugin = null; |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | /** |
| 60 | 60 | * Get required modules for Yawik |
| 61 | 61 | * |
| 62 | - * @return array |
|
| 62 | + * @return string[] |
|
| 63 | 63 | */ |
| 64 | 64 | public static function getRequiredModules() |
| 65 | 65 | { |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | |
| 194 | 194 | /** |
| 195 | 195 | * Setup php server |
| 196 | - * @return bool |
|
| 196 | + * @return null|boolean |
|
| 197 | 197 | * @codeCoverageIgnore |
| 198 | 198 | */ |
| 199 | 199 | public static function setupCliServerEnv() |