Completed
Push — v2 ( 094005...546f8a )
by Joschi
04:35
created
src/Micrometa/Infrastructure/Factory/MicroformatsFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     protected static function createTypes(array $types)
93 93
     {
94 94
         return array_map(
95
-            function ($type) {
95
+            function($type) {
96 96
                 return (object)['profile' => self::MF2_PROFILE_URI, 'name' => $type];
97 97
             }, $types
98 98
         );
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     {
155 155
         $lang = null;
156 156
         $values = self::createLanguage($values, $lang);
157
-        return $lang ? array_map(function ($value) use ($lang) {
157
+        return $lang ? array_map(function($value) use ($lang) {
158 158
             return (object)['value' => $value, 'lang' => $lang];
159 159
         }, $values) : $values;
160 160
     }
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     protected static function createProperty(array $propertyValues)
169 169
     {
170 170
         return array_map(
171
-            function ($propertyValue) {
171
+            function($propertyValue) {
172 172
                 if (is_array($propertyValue)) {
173 173
                     return isset($propertyValue['type']) ?
174 174
                         self::createItem($propertyValue) : self::tagLanguage($propertyValue);
Please login to merge, or discard this patch.