Completed
Pull Request — 3.x (#68)
by
unknown
02:23
created
src/Builder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public function newField($name, $type = null)
75 75
     {
76
-        if (! $type) {
76
+        if (!$type) {
77 77
             $type = 'text';
78 78
         }
79 79
         $class = $this->field_class;
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function newFieldset($name, $type = null, $options = null)
99 99
     {
100
-        if (! $type) {
100
+        if (!$type) {
101 101
             $type = $name;
102 102
         }
103 103
         $factory = $this->fieldset_map[$type];
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      */
120 120
     public function newCollection($name, $type = null)
121 121
     {
122
-        if (! $type) {
122
+        if (!$type) {
123 123
             $type = $name;
124 124
         }
125 125
         $class = $this->collection_class;
Please login to merge, or discard this patch.
src/Fieldset.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function __isset($name)
145 145
     {
146
-        if (! isset($this->inputs[$name])) {
146
+        if (!isset($this->inputs[$name])) {
147 147
             return false;
148 148
         }
149 149
 
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      */
190 190
     public function getInput($name)
191 191
     {
192
-        if (! isset($this->inputs[$name])) {
192
+        if (!isset($this->inputs[$name])) {
193 193
             throw new Exception\NoSuchInput($name);
194 194
         }
195 195
 
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
         // Iterate on fieldset or collection and get failures
365 365
         foreach ($this->inputs as $name => $input) {
366 366
             if ($input instanceof Fieldset || $input instanceof Collection) {
367
-                if (! $input->filter()) {
367
+                if (!$input->filter()) {
368 368
                     $this->success = false;
369 369
                     $failures = $input->getFailures();
370 370
                     if ($failures instanceof FailureCollectionInterface) {
Please login to merge, or discard this patch.
src/FormFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     public function newInstance($name, $options = null)
58 58
     {
59
-        if (! isset($this->map[$name])) {
59
+        if (!isset($this->map[$name])) {
60 60
             throw new Exception\NoSuchForm($name);
61 61
         }
62 62
         
Please login to merge, or discard this patch.