Completed
Pull Request — develop (#501)
by ANTHONIUS
10:57
created
module/Core/src/Form/Form.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,6 +77,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
258 259
     }
259 260
 
260 261
     /**
261
-     * @param $spec
262
+     * @param string $spec
262 263
      *
263 264
      * @return $this
264 265
      */
Please login to merge, or discard this patch.
module/Core/src/Form/Hydrator/Strategy/TreeSelectStrategy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
module/Core/src/Form/Hydrator/TreeHydrator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
module/Core/src/Form/SearchForm.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
module/Core/src/Form/View/Helper/FormContainer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
module/Core/src/Form/View/Helper/FormRowCombined.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
module/Core/src/Form/View/Helper/SearchForm.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -88,6 +88,11 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
module/Core/src/I18n/LocaleFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
module/Core/src/Listener/AjaxRouteListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.