@@ -87,7 +87,7 @@ |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | - * @param LifecycleEventArgs $eventArgs |
|
| 90 | + * @param PostFlushEventArgs $eventArgs |
|
| 91 | 91 | */ |
| 92 | 92 | public function postFlush(PostFlushEventArgs $eventArgs) |
| 93 | 93 | { |
@@ -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 \Auth\Entity\AnonymousUser $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 | { |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @param bool $recursive |
| 28 | - * @param array $skipMembers |
|
| 28 | + * @param string[] $skipMembers |
|
| 29 | 29 | * |
| 30 | 30 | * @return $this |
| 31 | 31 | */ |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | - * @param $property |
|
| 133 | + * @param string $property |
|
| 134 | 134 | * |
| 135 | 135 | * @return null |
| 136 | 136 | */ |
@@ -31,6 +31,11 @@ discard block |
||
| 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; |
@@ -69,6 +74,9 @@ discard block |
||
| 69 | 74 | $this->add($this->formManager->get('DefaultButtonsFieldset')); |
| 70 | 75 | } |
| 71 | 76 | |
| 77 | + /** |
|
| 78 | + * @return string |
|
| 79 | + */ |
|
| 72 | 80 | abstract public function getCoreFieldset(); |
| 73 | 81 | |
| 74 | 82 | /** |
@@ -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 | { |