Completed
Push — master ( ceddec...ed3c4b )
by Steve
02:07
created
src/FieldMigration.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
     public function excludeOptionPage($optionPage)
95 95
     {
96
-        $this->optionPages = array_merge(array_filter($this->optionPages, function ($o) use ($optionPage) {
96
+        $this->optionPages = array_merge(array_filter($this->optionPages, function($o) use ($optionPage) {
97 97
             return $o !== $optionPage;
98 98
         }));
99 99
 
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     protected function getPosts()
129 129
     {
130 130
         return array_map(
131
-            function ($id) {
131
+            function($id) {
132 132
                 return new Post($id);
133 133
             },
134 134
             get_posts([
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     protected function getTerms()
145 145
     {
146 146
         return array_map(
147
-            function ($id) {
147
+            function($id) {
148 148
                 return new Term($id);
149 149
             },
150 150
             get_terms([
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     protected function getUsers()
162 162
     {
163 163
         return array_map(
164
-            function ($id) {
164
+            function($id) {
165 165
                 return new User($id);
166 166
             },
167 167
             get_users([
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     protected function getComments()
179 179
     {
180 180
         return array_map(
181
-            function ($id) {
181
+            function($id) {
182 182
                 return new Comment($id);
183 183
             },
184 184
             get_comments([
@@ -194,10 +194,10 @@  discard block
 block discarded – undo
194 194
     protected function getOptions()
195 195
     {
196 196
         return array_filter(
197
-            array_map(function ($id) {
197
+            array_map(function($id) {
198 198
                 return new OptionPage($id);
199 199
             }, $this->optionPages),
200
-            function (OptionPage $optionPage) {
200
+            function(OptionPage $optionPage) {
201 201
                 return $optionPage->hasMetaValue($this->getField()->getKey());
202 202
             }
203 203
         );
Please login to merge, or discard this patch.