Completed
Push — master ( 0da9d4...b286ff )
by Adrian
04:05
created
src/DataContainer.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -4,6 +4,10 @@  discard block
 block discarded – undo
4 4
 class DataContainer extends \ArrayObject
5 5
 {
6 6
 
7
+    /**
8
+     * @param string $nameOrArray
9
+     * @param string $value
10
+     */
7 11
     function set($nameOrArray, $value = null)
8 12
     {
9 13
         if (is_array($nameOrArray)) {
@@ -23,6 +27,9 @@  discard block
 block discarded – undo
23 27
         }
24 28
     }
25 29
 
30
+    /**
31
+     * @param string $name
32
+     */
26 33
     function get($name)
27 34
     {
28 35
         return isset($this[$name])
Please login to merge, or discard this patch.
src/InputFilter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      * Initialize the form
99 99
      * This is the place to put your definition (properties, elements)
100 100
      *
101
-     * @return \Sirius\Input\Form
101
+     * @return InputFilter
102 102
      */
103 103
     function init()
104 104
     {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      * @param bool $force force the execution of the preparation code even if already prepared
147 147
      *
148 148
      * @throws \LogicException
149
-     * @return \Sirius\Input\Form
149
+     * @return InputFilter
150 150
      */
151 151
     function prepare($force = false)
152 152
     {
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      *      $form->setUploadHandler('resume', $resumeHandler);
261 261
      *      $form->setUploadHandler('pictures[*]', $pictureHandler);
262 262
      *
263
-     * @param $selector
263
+     * @param string $selector
264 264
      * @param UploadHandler $handler
265 265
      *
266 266
      * @return $this
Please login to merge, or discard this patch.
src/Traits/HasAttributesTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      *
32 32
      * @param array $attrs
33 33
      *
34
-     * @return mixed
34
+     * @return HasAttributesTrait
35 35
      */
36 36
     function setAttributes($attrs)
37 37
     {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * Set/Unset a label attribute
60 60
      *
61 61
      * @param string $attr
62
-     * @param mixed|null $value
62
+     * @param string $value
63 63
      *
64 64
      * @return self
65 65
      */
Please login to merge, or discard this patch.
src/Traits/HasChildrenTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
      * @param \ArrayObject $childA
131 131
      * @param \ArrayObject $childB
132 132
      *
133
-     * @return number
133
+     * @return integer
134 134
      */
135 135
     protected function childComparator($childA, $childB)
136 136
     {
Please login to merge, or discard this patch.
src/Traits/HasHintTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      *
56 56
      * @param array $attrs
57 57
      *
58
-     * @return mixed
58
+     * @return HasHintTrait
59 59
      */
60 60
     function setHintAttributes($attrs)
61 61
     {
Please login to merge, or discard this patch.
src/Traits/HasLabelTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      *
56 56
      * @param array $attrs
57 57
      *
58
-     * @return mixed
58
+     * @return HasLabelTrait
59 59
      */
60 60
     function setLabelAttributes($attrs)
61 61
     {
Please login to merge, or discard this patch.