Completed
Push — master ( 754f5c...d85481 )
by Joschi
05:03
created
src/Micrometa/Application/Item/PropertyList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
             $profiledName = strval($iri);
107 107
             $cursor = $this->nameToCursor[$profiledName];
108 108
             $propertyList[$profiledName] = array_map(
109
-                function (ExportableInterface $value) {
109
+                function(ExportableInterface $value) {
110 110
                     return $value->export();
111 111
                 },
112 112
                 $this->values[$cursor]
Please login to merge, or discard this patch.
src/Micrometa/Infrastructure/Factory/MicroformatsFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     protected static function createTypes(array $types)
117 117
     {
118 118
         return array_map(
119
-            function ($type) {
119
+            function($type) {
120 120
                 return (object)['profile' => self::MF2_PROFILE_URI, 'name' => $type];
121 121
             },
122 122
             $types
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
     {
180 180
         $lang = null;
181 181
         $values = self::createLanguage($values, $lang);
182
-        return $lang ? array_map(function ($value) use ($lang) {
182
+        return $lang ? array_map(function($value) use ($lang) {
183 183
             return (object)['value' => $value, 'lang' => $lang];
184 184
         }, $values) : $values;
185 185
     }
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     protected static function createProperty(array $propertyValues)
194 194
     {
195 195
         return array_map(
196
-            function ($propertyValue) {
196
+            function($propertyValue) {
197 197
                 if (is_array($propertyValue)) {
198 198
                     return isset($propertyValue['type']) ?
199 199
                         self::createItem($propertyValue) : self::tagLanguage($propertyValue);
Please login to merge, or discard this patch.