Test Setup Failed
Pull Request — master (#13)
by Chauncey
12:38
created
src/Charcoal/Property/BooleanProperty.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @param  mixed $label The true label.
112
+     * @param  string $label The true label.
113 113
      * @return self
114 114
      */
115 115
     public function setTrueLabel($label)
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     }
132 132
 
133 133
     /**
134
-     * @param  mixed $label The false label.
134
+     * @param  string $label The false label.
135 135
      * @return self
136 136
      */
137 137
     public function setFalseLabel($label)
Please login to merge, or discard this patch.
src/Charcoal/Property/PropertyValidator.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 // From 'charcoal-core'
6 6
 use Charcoal\Validator\AbstractValidator;
7
-use Charcoal\Validator\ValidatableInterface;
8 7
 
9 8
 /**
10 9
  * Property Validator
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         foreach ($methods as $method) {
26 26
             $method = $this->camelize($method);
27 27
 
28
-            $func = [ $property, 'validate'.ucfirst($method) ];
28
+            $func = [$property, 'validate'.ucfirst($method)];
29 29
             if (is_callable($func)) {
30 30
                 $result = $result && call_user_func($func);
31 31
             }
Please login to merge, or discard this patch.