@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | protected static function createTypes(array $types) |
| 90 | 90 | { |
| 91 | 91 | return array_map( |
| 92 | - function ($type) { |
|
| 92 | + function($type) { |
|
| 93 | 93 | return (object)['profile' => self::MF2_PROFILE_URI, 'name' => $type]; |
| 94 | 94 | }, $types |
| 95 | 95 | ); |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | protected static function createProperty(array $propertyValues) |
| 124 | 124 | { |
| 125 | 125 | return array_map( |
| 126 | - function ($propertyValue) { |
|
| 126 | + function($propertyValue) { |
|
| 127 | 127 | if (is_array($propertyValue)) { |
| 128 | 128 | return isset($propertyValue['type']) ? self::createItem($propertyValue) : $propertyValue; |
| 129 | 129 | } |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | return; |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | - $propertyValues =& $this->offsetGet($iri); |
|
| 163 | + $propertyValues = & $this->offsetGet($iri); |
|
| 164 | 164 | $propertyValues = array_merge($propertyValues, $values); |
| 165 | 165 | } |
| 166 | 166 | |
@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | { |
| 226 | 226 | $values = $this->values; |
| 227 | 227 | return array_map( |
| 228 | - function ($cursor) use ($values) { |
|
| 228 | + function($cursor) use ($values) { |
|
| 229 | 229 | return $values[$cursor]; |
| 230 | 230 | }, |
| 231 | 231 | $this->nameToCursor |