Completed
Push — master ( c0ca3b...95e445 )
by Joschi
03:02
created
src/Micrometa/Infrastructure/Factory/MicroformatsFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     protected static function createTypes(array $types)
80 80
     {
81 81
         return array_map(
82
-            function ($type) {
82
+            function($type) {
83 83
                 return (object)['profile' => self::MF2_PROFILE_URI, 'name' => $type];
84 84
             },
85 85
             $types
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     protected static function createProperty(array $propertyValues)
160 160
     {
161 161
         return array_map(
162
-            function ($propertyValue) {
162
+            function($propertyValue) {
163 163
                 if (is_array($propertyValue)) {
164 164
                     return isset($propertyValue['type']) ?
165 165
                         self::createItem($propertyValue) : self::tagLanguage($propertyValue);
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         $lang   = null;
184 184
         $values = self::createLanguage($values, $lang);
185 185
 
186
-        return $lang ? array_map(function ($value) use ($lang) {
186
+        return $lang ? array_map(function($value) use ($lang) {
187 187
             return (object)['value' => $value, 'lang' => $lang];
188 188
         }, $values) : $values;
189 189
     }
Please login to merge, or discard this patch.