@@ -301,6 +301,9 @@ |
||
301 | 301 | return $organization; |
302 | 302 | } |
303 | 303 | |
304 | + /** |
|
305 | + * @param string $script |
|
306 | + */ |
|
304 | 307 | protected function getErrorViewModel($script) |
305 | 308 | { |
306 | 309 | $this->getResponse()->setStatusCode(500); |
@@ -150,7 +150,7 @@ |
||
150 | 150 | * $this->proxy($method[, $arg1[, $arg2[, ...]]]); |
151 | 151 | * </pre> |
152 | 152 | * |
153 | - * @param $method |
|
153 | + * @param string $method |
|
154 | 154 | * |
155 | 155 | * @return self|mixed |
156 | 156 | */ |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * |
28 | 28 | * @see \Zend\ServiceManager\FactoryInterface::createService() |
29 | 29 | * @param ServiceLocatorInterface $serviceLocator |
30 | - * @return \Organizations\Repository\Filter\PaginationQuery|mixed |
|
30 | + * @return PaginationQuery |
|
31 | 31 | */ |
32 | 32 | public function createService(ServiceLocatorInterface $serviceLocator) |
33 | 33 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * Finds the main organization of an user. |
108 | 108 | * |
109 | - * @param string|UserInterface $userOrId |
|
109 | + * @param string $userOrId |
|
110 | 110 | * |
111 | 111 | * @return null|OrganizationInterface |
112 | 112 | */ |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * Finds the organization, an user is employed by. |
144 | 144 | * |
145 | - * @param string|UserInterface $userOrId |
|
145 | + * @param string $userOrId |
|
146 | 146 | * |
147 | 147 | * @return null|OrganizationInterface |
148 | 148 | */ |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | /** |
271 | 271 | * Look for an drafted Document of a given user |
272 | 272 | * |
273 | - * @param $user |
|
273 | + * @param UserInterface $user |
|
274 | 274 | * @return \Organizations\Entity\Organization|null |
275 | 275 | */ |
276 | 276 | public function findDraft($user) |
@@ -14,6 +14,9 @@ |
||
14 | 14 | |
15 | 15 | class OrganizationName extends AbstractRepository |
16 | 16 | { |
17 | + /** |
|
18 | + * @param string $name |
|
19 | + */ |
|
17 | 20 | public function findbyName($name, $create = true) |
18 | 21 | { |
19 | 22 | $entity = $this->findOneBy(array('name' => $name)); |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | /** |
165 | 165 | * give a summary of all inserted Files, |
166 | 166 | * this is for having access to those files in the post-process |
167 | - * @param \Core\View\Helper\InsertFile\FileEvent|\Zend\View\ViewEvent $e |
|
167 | + * @param FileEvent $e |
|
168 | 168 | * @return NULL |
169 | 169 | */ |
170 | 170 | public function collectFiles(FileEvent $e) |
@@ -313,7 +313,7 @@ discard block |
||
313 | 313 | * |
314 | 314 | * @param string $name |
315 | 315 | * @param \Zend\View\Renderer\RendererInterface $renderer |
316 | - * @return string|boolean |
|
316 | + * @return string|false |
|
317 | 317 | */ |
318 | 318 | public function resolve($name, Renderer $renderer = null) |
319 | 319 | { |
@@ -138,7 +138,6 @@ |
||
138 | 138 | * If the property is an array, the check will return, if this |
139 | 139 | * array has items or not. |
140 | 140 | * |
141 | - * @param string $name |
|
142 | 141 | * @return boolean |
143 | 142 | */ |
144 | 143 | public function __isset($property) |
@@ -50,6 +50,11 @@ discard block |
||
50 | 50 | return $this->hydrator; |
51 | 51 | } |
52 | 52 | |
53 | + /** |
|
54 | + * @param string $name |
|
55 | + * |
|
56 | + * @return callable |
|
57 | + */ |
|
53 | 58 | protected function getPlugin($name) |
54 | 59 | { |
55 | 60 | $plugin = null; |
@@ -88,5 +93,8 @@ discard block |
||
88 | 93 | $this->add($this->forms->get('DefaultButtonsFieldset')); |
89 | 94 | } |
90 | 95 | |
96 | + /** |
|
97 | + * @return string |
|
98 | + */ |
|
91 | 99 | abstract public function getCoreFieldset(); |
92 | 100 | } |
@@ -44,7 +44,6 @@ |
||
44 | 44 | |
45 | 45 | /** |
46 | 46 | * the $id for an entity 'setting' is the same as for the entity 'user' |
47 | - * @param type $id |
|
48 | 47 | */ |
49 | 48 | public function getSettingsByUser($user) |
50 | 49 | { |