@@ -89,7 +89,7 @@ |
||
89 | 89 | /** |
90 | 90 | * exclude methods from the automatism |
91 | 91 | * |
92 | - * @param $methods |
|
92 | + * @param string[] $methods |
|
93 | 93 | */ |
94 | 94 | public function setExcludeMethods($methods) |
95 | 95 | { |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | /** |
25 | 25 | * @param $data |
26 | - * @return mixed |
|
26 | + * @return Snapshot |
|
27 | 27 | * @ODM\PreUpdate |
28 | 28 | */ |
29 | 29 | public function __invoke($data) |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * |
125 | 125 | * @param string $name |
126 | 126 | * @param mixed $value |
127 | - * @return ViewModel |
|
127 | + * @return HTMLTemplateMessage |
|
128 | 128 | */ |
129 | 129 | public function setVariable($name, $value) |
130 | 130 | { |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | * |
186 | 186 | * Resets the internal variable container to an empty container. |
187 | 187 | * |
188 | - * @return ViewModel |
|
188 | + * @return HTMLTemplateMessage |
|
189 | 189 | */ |
190 | 190 | public function clearVariables() |
191 | 191 | { |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | |
196 | 196 | /** |
197 | 197 | * |
198 | - * @param $template |
|
198 | + * @param string $template |
|
199 | 199 | * |
200 | 200 | * @return self |
201 | 201 | */ |
@@ -205,6 +205,9 @@ discard block |
||
205 | 205 | return $this; |
206 | 206 | } |
207 | 207 | |
208 | + /** |
|
209 | + * @return string |
|
210 | + */ |
|
208 | 211 | public function getTemplate() |
209 | 212 | { |
210 | 213 | return $this->template; |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
39 | - * @param $name |
|
39 | + * @param string $name |
|
40 | 40 | * |
41 | 41 | * @return mixed |
42 | 42 | */ |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * @param array $data |
61 | 61 | * |
62 | - * @return mixed |
|
62 | + * @return EntityInterface |
|
63 | 63 | */ |
64 | 64 | public function create(array $data = null, $persist = false) |
65 | 65 | { |
@@ -26,7 +26,6 @@ |
||
26 | 26 | * Attach to an event manager |
27 | 27 | * |
28 | 28 | * @param EventManagerInterface $events |
29 | - * @param integer $priority |
|
30 | 29 | */ |
31 | 30 | public function attach(EventManagerInterface $events) |
32 | 31 | { |
@@ -24,6 +24,9 @@ |
||
24 | 24 | $this->dm = $dm; |
25 | 25 | } |
26 | 26 | |
27 | + /** |
|
28 | + * @param string $name |
|
29 | + */ |
|
27 | 30 | public function get($name) |
28 | 31 | { |
29 | 32 | if (!class_exists($name)) { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | protected $locationEngineType; |
45 | 45 | |
46 | 46 | /** |
47 | - * @param $locationEngineType |
|
47 | + * @param string $locationEngineType |
|
48 | 48 | */ |
49 | 49 | public function setLocationEngineType($locationEngineType) |
50 | 50 | { |
@@ -250,6 +250,9 @@ |
||
250 | 250 | return $container; |
251 | 251 | } |
252 | 252 | |
253 | + /** |
|
254 | + * @param string $script |
|
255 | + */ |
|
253 | 256 | protected function getErrorViewModel($script) |
254 | 257 | { |
255 | 258 | $this->getResponse()->setStatusCode(Response::STATUS_CODE_500); |
@@ -59,7 +59,7 @@ |
||
59 | 59 | * @param Params $params |
60 | 60 | * @param bool $allowDraft |
61 | 61 | * |
62 | - * @return object|\Organizations\Entity\Organization |
|
62 | + * @return \Organizations\Entity\OrganizationInterface |
|
63 | 63 | * @throws UnauthorizedAccessException |
64 | 64 | * @throws \Doctrine\ODM\MongoDB\LockException |
65 | 65 | * @throws NotFoundException |