Completed
Push — 3.x ( ce948d...98bb5a )
by Hari
9s
created
src/Fieldset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -353,8 +353,8 @@
 block discarded – undo
353 353
      * @return bool True if all the filter rules pass, false if not.
354 354
      *
355 355
      */
356
-     public function filter()
357
-     {
356
+        public function filter()
357
+        {
358 358
         $this->success = $this->filter->apply($this);
359 359
         $this->failures = $this->filter->getFailures();
360 360
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      */
143 143
     public function __isset($name)
144 144
     {
145
-        if (! isset($this->inputs[$name])) {
145
+        if (!isset($this->inputs[$name])) {
146 146
             return false;
147 147
         }
148 148
 
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      */
189 189
     public function getInput($name)
190 190
     {
191
-        if (! isset($this->inputs[$name])) {
191
+        if (!isset($this->inputs[$name])) {
192 192
             throw new Exception\NoSuchInput($name);
193 193
         }
194 194
 
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
         // Iterate on fieldset or collection and get failures
362 362
         foreach ($this->inputs as $name => $input) {
363 363
             if ($input instanceof Fieldset || $input instanceof Collection) {
364
-                if (! $input->filter()) {
364
+                if (!$input->filter()) {
365 365
                     $this->success = false;
366 366
                     $this->failures->offsetSet($name, $input->getFailures());
367 367
                 }
Please login to merge, or discard this patch.