@@ -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 | { |
@@ -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); |
@@ -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 | { |
@@ -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 | /** |
@@ -47,6 +47,9 @@ discard block |
||
47 | 47 | $this->buttonsIterator->isLIFO(false); |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param string $name |
|
52 | + */ |
|
50 | 53 | public function setButtonElement($name) |
51 | 54 | { |
52 | 55 | return $this->setOption('button_element', $name); |
@@ -182,6 +185,9 @@ discard block |
||
182 | 185 | return $this->buttonsIterator; |
183 | 186 | } |
184 | 187 | |
188 | + /** |
|
189 | + * @param string $name |
|
190 | + */ |
|
185 | 191 | public function addButton($name, $priority = 0, $type = 'button') |
186 | 192 | { |
187 | 193 | if (is_array($name)) { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Sets the entity |
34 | 34 | * |
35 | - * @param $entity |
|
35 | + * @param EntityInterface $entity |
|
36 | 36 | * @throws \Core\Exception\ImmutablePropertyException |
37 | 37 | */ |
38 | 38 | public function __construct($entity) |
@@ -67,6 +67,9 @@ discard block |
||
67 | 67 | return $return === $entity ? $this : $return; |
68 | 68 | } |
69 | 69 | |
70 | + /** |
|
71 | + * @param string $property |
|
72 | + */ |
|
70 | 73 | protected function inaccessible($property) |
71 | 74 | { |
72 | 75 | throw new \DomainException(sprintf( |
@@ -75,6 +78,9 @@ discard block |
||
75 | 78 | )); |
76 | 79 | } |
77 | 80 | |
81 | + /** |
|
82 | + * @param string $property |
|
83 | + */ |
|
78 | 84 | protected function immutable($property) |
79 | 85 | { |
80 | 86 | throw new ImmutablePropertyException($property, $this); |
@@ -536,7 +536,7 @@ |
||
536 | 536 | |
537 | 537 | /** |
538 | 538 | * Gets the number of unread applications |
539 | - * @return Collection |
|
539 | + * @return integer |
|
540 | 540 | */ |
541 | 541 | public function getUnreadApplications() |
542 | 542 | { |