Completed
Pull Request — 3.x (#65)
by Hari
03:54
created
src/Filter/FailureCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  *
5 5
  * This file is part of Aura for PHP.
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function addMessagesForField($field, $messages)
49 49
     {
50
-        if (! isset($this->messages[$field])) {
50
+        if (!isset($this->messages[$field])) {
51 51
             $this->messages[$field] = [];
52 52
         }
53 53
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function getMessagesForField($field)
82 82
     {
83
-        if (! isset($this->messages[$field])) {
83
+        if (!isset($this->messages[$field])) {
84 84
             return array();
85 85
         }
86 86
 
Please login to merge, or discard this patch.
src/Field.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  *
5 5
  * This file is part of the Aura project for PHP.
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  *
5 5
  * This file is part of the Aura project for PHP.
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function newField($name, $type = null)
76 76
     {
77
-        if (! $type) {
77
+        if (!$type) {
78 78
             $type = 'text';
79 79
         }
80 80
         $class = $this->field_class;
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function newFieldset($name, $type = null)
98 98
     {
99
-        if (! $type) {
99
+        if (!$type) {
100 100
             $type = $name;
101 101
         }
102 102
         $factory = $this->fieldset_map[$type];
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public function newCollection($name, $type = null)
120 120
     {
121
-        if (! $type) {
121
+        if (!$type) {
122 122
             $type = $name;
123 123
         }
124 124
         $class = $this->collection_class;
Please login to merge, or discard this patch.
src/FormFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  *
5 5
  * This file is part of the Aura project for PHP.
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function newInstance($name)
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.
src/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  *
5 5
  * This file is part of the Aura project for PHP.
Please login to merge, or discard this patch.
src/CollectionIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  *
5 5
  * This file is part of the Aura project for PHP.
Please login to merge, or discard this patch.