Passed
Push — feature/code_improvement ( 05471b...c2d86d )
by Thierry
02:35
created
src/Request/Factory/Features/Condition.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      *
31 31
      * @param string        $sCondition               The condition to check
32 32
      *
33
-     * @return Request
33
+     * @return Condition
34 34
      */
35 35
     public function when($sCondition)
36 36
     {
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      *
46 46
      * @param string        $sCondition               The condition to check
47 47
      *
48
-     * @return Request
48
+     * @return Condition
49 49
      */
50 50
     public function unless($sCondition)
51 51
     {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @param string        $sValue1                  The first value to compare
60 60
      * @param string        $sValue2                  The second value to compare
61 61
      *
62
-     * @return Request
62
+     * @return Condition
63 63
      */
64 64
     public function ifeq($sValue1, $sValue2)
65 65
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * @param string        $sValue1                  The first value to compare
74 74
      * @param string        $sValue2                  The second value to compare
75 75
      *
76
-     * @return Request
76
+     * @return Condition
77 77
      */
78 78
     public function ifne($sValue1, $sValue2)
79 79
     {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      * @param string        $sValue1                  The first value to compare
88 88
      * @param string        $sValue2                  The second value to compare
89 89
      *
90
-     * @return Request
90
+     * @return Condition
91 91
      */
92 92
     public function ifgt($sValue1, $sValue2)
93 93
     {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      * @param string        $sValue1                  The first value to compare
102 102
      * @param string        $sValue2                  The second value to compare
103 103
      *
104
-     * @return Request
104
+     * @return Condition
105 105
      */
106 106
     public function ifge($sValue1, $sValue2)
107 107
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      * @param string        $sValue1                  The first value to compare
116 116
      * @param string        $sValue2                  The second value to compare
117 117
      *
118
-     * @return Request
118
+     * @return Condition
119 119
      */
120 120
     public function iflt($sValue1, $sValue2)
121 121
     {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      * @param string        $sValue1                  The first value to compare
130 130
      * @param string        $sValue2                  The second value to compare
131 131
      *
132
-     * @return Request
132
+     * @return Condition
133 133
      */
134 134
     public function ifle($sValue1, $sValue2)
135 135
     {
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.