@@ -77,6 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * @param string $description |
80 | + * @param double[] $params |
|
80 | 81 | * |
81 | 82 | * @return $this |
82 | 83 | */ |
@@ -258,7 +259,7 @@ discard block |
||
258 | 259 | } |
259 | 260 | |
260 | 261 | /** |
261 | - * @param $spec |
|
262 | + * @param string $spec |
|
262 | 263 | * |
263 | 264 | * @return $this |
264 | 265 | */ |
@@ -97,7 +97,7 @@ |
||
97 | 97 | /** |
98 | 98 | * Set the allow multiple selections flag. |
99 | 99 | * |
100 | - * @param Callable|bool $flagOrCallback When a Callable is passed, it must return bool. |
|
100 | + * @param \Closure $flagOrCallback When a Callable is passed, it must return bool. |
|
101 | 101 | * |
102 | 102 | * @return self |
103 | 103 | */ |
@@ -93,7 +93,7 @@ |
||
93 | 93 | * @param array $data Form values |
94 | 94 | * @param Collection $object |
95 | 95 | * |
96 | - * @return object |
|
96 | + * @return NodeInterface |
|
97 | 97 | */ |
98 | 98 | public function hydrate(array $data, $object) |
99 | 99 | { |
@@ -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)) { |
@@ -74,6 +74,9 @@ |
||
74 | 74 | return $content; |
75 | 75 | } |
76 | 76 | |
77 | + /** |
|
78 | + * @param string $layout |
|
79 | + */ |
|
77 | 80 | public function renderElement($element, $layout, $parameter) |
78 | 81 | { |
79 | 82 | $parameterPartial = $parameter; |
@@ -73,7 +73,7 @@ |
||
73 | 73 | * |
74 | 74 | * Proxies to {@link render()}. |
75 | 75 | * |
76 | - * @param null|ElementInterface $element |
|
76 | + * @param null|ElementInterface $elements |
|
77 | 77 | * @param null|string $labelPosition |
78 | 78 | * @param bool $renderErrors |
79 | 79 | * @return string|FormRow |
@@ -88,6 +88,11 @@ |
||
88 | 88 | return $content; |
89 | 89 | } |
90 | 90 | |
91 | + /** |
|
92 | + * @param FormInterface $form |
|
93 | + * |
|
94 | + * @return null|FormInterface |
|
95 | + */ |
|
91 | 96 | public function renderElements($form, $colMap = null, $buttonsSpan = null) |
92 | 97 | { |
93 | 98 | if ($form instanceof ViewPartialProviderInterface) { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * @param string $requestedName |
32 | 32 | * @param null|array $options |
33 | 33 | * |
34 | - * @return object |
|
34 | + * @return Locale |
|
35 | 35 | * @throws ServiceNotFoundException if unable to resolve the service. |
36 | 36 | * @throws ServiceNotCreatedException if an exception is raised when |
37 | 37 | * creating a service. |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * |
66 | 66 | * @param MvcEvent $event |
67 | 67 | * |
68 | - * @return null|\Zend\Http\PhpEnvironment\Response |
|
68 | + * @return null|\Zend\Stdlib\ResponseInterface |
|
69 | 69 | * @throws \UnexpectedValueException |
70 | 70 | */ |
71 | 71 | public function onRoute(MvcEvent $event) |