@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | public function createFolders($names, Type\FolderIdType $parentFolder, $options = array(), $folderClass = null) |
| 192 | 192 | { |
| 193 | 193 | $names = Utilities\ensureIsArray($names); |
| 194 | - $names = array_map(function ($name) use ($folderClass) { |
|
| 194 | + $names = array_map(function($name) use ($folderClass) { |
|
| 195 | 195 | return ['DisplayName' => $name, 'FolderClass' => $folderClass]; |
| 196 | 196 | }, $names); |
| 197 | 197 | |
@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | { |
| 226 | 226 | $folders = Utilities\ensureIsArray($folders); |
| 227 | 227 | |
| 228 | - $folderIds = array_map(function ($folderId) { |
|
| 228 | + $folderIds = array_map(function($folderId) { |
|
| 229 | 229 | return $folderId->toArray(); |
| 230 | 230 | }, $folders); |
| 231 | 231 | |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | { |
| 262 | 262 | $items = Utilities\ensureIsArray($items); |
| 263 | 263 | |
| 264 | - $items = array_map(function ($item) { |
|
| 264 | + $items = array_map(function($item) { |
|
| 265 | 265 | $item = Type\ItemIdType::buildFromArray($item); |
| 266 | 266 | |
| 267 | 267 | return $item->toArray(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | if (is_array($value)) { |
| 11 | - return array_map(function ($value) { |
|
| 11 | + return array_map(function($value) { |
|
| 12 | 12 | return cloneValue($value); |
| 13 | 13 | }, $value); |
| 14 | 14 | } |