Passed
Push — feature/code_improvement ( c2d86d...84d6ec )
by Thierry
02:38
created
src/Request/Support/FileUpload.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
                 {
105 105
                     throw new \Jaxon\Exception\Error($this->getValidatorMessage());
106 106
                 }
107
-           }
107
+            }
108 108
         }
109 109
 
110 110
         return $aTempFiles;
Please login to merge, or discard this patch.
src/Features/Validator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      *
30 30
      * @param string        $sName            The function name
31 31
      *
32
-     * @return boolean            True if the function name is valid, and false if not
32
+     * @return integer            True if the function name is valid, and false if not
33 33
      */
34 34
     public function validateFunction($sName)
35 35
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      *
42 42
      * @param string        $sName            The event name
43 43
      *
44
-     * @return boolean            True if the event name is valid, and false if not
44
+     * @return integer            True if the event name is valid, and false if not
45 45
      */
46 46
     public function validateEvent($sName)
47 47
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @param string        $sName            The class name
55 55
      *
56
-     * @return boolean            True if the class name is valid, and false if not
56
+     * @return integer            True if the class name is valid, and false if not
57 57
      */
58 58
     public function validateClass($sName)
59 59
     {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      *
66 66
      * @param string        $sName            The function name
67 67
      *
68
-     * @return boolean            True if the method name is valid, and false if not
68
+     * @return integer            True if the method name is valid, and false if not
69 69
      */
70 70
     public function validateMethod($sName)
71 71
     {
Please login to merge, or discard this patch.
src/Response/Features/JsCommands.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      *
28 28
      * @param string        $sName              The command name
29 29
      * @param array         $aAttributes        Associative array of attributes that will describe the command
30
-     * @param mixed         $mData              The data to be associated with this command
30
+     * @param string         $mData              The data to be associated with this command
31 31
      * @param boolean       $bRemoveEmpty       If true, remove empty attributes
32 32
      *
33 33
      * @return Response
Please login to merge, or discard this patch.
src/Utils/Validation/Validator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      *
30 30
      * @param string        $sName            The function name
31 31
      *
32
-     * @return boolean            True if the function name is valid, and false if not
32
+     * @return integer            True if the function name is valid, and false if not
33 33
      */
34 34
     public function validateFunction($sName)
35 35
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      *
42 42
      * @param string        $sName            The event name
43 43
      *
44
-     * @return boolean            True if the event name is valid, and false if not
44
+     * @return integer            True if the event name is valid, and false if not
45 45
      */
46 46
     public function validateEvent($sName)
47 47
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @param string        $sName            The class name
55 55
      *
56
-     * @return boolean            True if the class name is valid, and false if not
56
+     * @return integer            True if the class name is valid, and false if not
57 57
      */
58 58
     public function validateClass($sName)
59 59
     {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      *
66 66
      * @param string        $sName            The function name
67 67
      *
68
-     * @return boolean            True if the method name is valid, and false if not
68
+     * @return integer            True if the method name is valid, and false if not
69 69
      */
70 70
     public function validateMethod($sName)
71 71
     {
Please login to merge, or discard this patch.
src/Request/Factory/Features/Condition.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      *
32 32
      * @param string        $sCondition               The condition to check
33 33
      *
34
-     * @return mixed
34
+     * @return Condition
35 35
      */
36 36
     public function when($sCondition)
37 37
     {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      *
47 47
      * @param string        $sCondition               The condition to check
48 48
      *
49
-     * @return mixed
49
+     * @return Condition
50 50
      */
51 51
     public function unless($sCondition)
52 52
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      * @param string        $sValue1                  The first value to compare
61 61
      * @param string        $sValue2                  The second value to compare
62 62
      *
63
-     * @return mixed
63
+     * @return Condition
64 64
      */
65 65
     public function ifeq($sValue1, $sValue2)
66 66
     {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * @param string        $sValue1                  The first value to compare
75 75
      * @param string        $sValue2                  The second value to compare
76 76
      *
77
-     * @return mixed
77
+     * @return Condition
78 78
      */
79 79
     public function ifne($sValue1, $sValue2)
80 80
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * @param string        $sValue1                  The first value to compare
89 89
      * @param string        $sValue2                  The second value to compare
90 90
      *
91
-     * @return mixed
91
+     * @return Condition
92 92
      */
93 93
     public function ifgt($sValue1, $sValue2)
94 94
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      * @param string        $sValue1                  The first value to compare
103 103
      * @param string        $sValue2                  The second value to compare
104 104
      *
105
-     * @return mixed
105
+     * @return Condition
106 106
      */
107 107
     public function ifge($sValue1, $sValue2)
108 108
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * @param string        $sValue1                  The first value to compare
117 117
      * @param string        $sValue2                  The second value to compare
118 118
      *
119
-     * @return mixed
119
+     * @return Condition
120 120
      */
121 121
     public function iflt($sValue1, $sValue2)
122 122
     {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      * @param string        $sValue1                  The first value to compare
131 131
      * @param string        $sValue2                  The second value to compare
132 132
      *
133
-     * @return mixed
133
+     * @return Condition
134 134
      */
135 135
     public function ifle($sValue1, $sValue2)
136 136
     {
Please login to merge, or discard this patch.