| @@ -106,7 +106,7 @@ | ||
| 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] | 
| @@ -116,7 +116,7 @@ discard block | ||
| 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 | ||
| 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 | ||
| 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); |