@@ -9,7 +9,7 @@ |
||
9 | 9 | public static function handlePullNotification($uri, callable $handle, array $options = array()) |
10 | 10 | { |
11 | 11 | $server = new \SoapServer( |
12 | - __DIR__ . '/../Resources/wsdl/notification-service.wsdl', |
|
12 | + __DIR__.'/../Resources/wsdl/notification-service.wsdl', |
|
13 | 13 | [ |
14 | 14 | 'uri' => $uri, |
15 | 15 | 'classmap' => ClassMap::getClassMap(), |
@@ -8,11 +8,11 @@ |
||
8 | 8 | { |
9 | 9 | $folders = ensureIsArray($folderIds); |
10 | 10 | |
11 | - $folderIds = array_map(function (BaseFolderIdType $folderId) { |
|
11 | + $folderIds = array_map(function(BaseFolderIdType $folderId) { |
|
12 | 12 | return $folderId->toArray(true); |
13 | 13 | }, $folders); |
14 | 14 | |
15 | - return array_reduce($folderIds, function ($folderIds, $folderId) { |
|
15 | + return array_reduce($folderIds, function($folderIds, $folderId) { |
|
16 | 16 | $folderIds[key($folderId)][] = current($folderId); |
17 | 17 | return $folderIds; |
18 | 18 | }, []); |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | public function createFolders($names, BaseFolderIdType $parentFolder, $options = array(), $folderClass = null) |
193 | 193 | { |
194 | 194 | $names = Utilities\ensureIsArray($names); |
195 | - $names = array_map(function ($name) use ($folderClass) { |
|
195 | + $names = array_map(function($name) use ($folderClass) { |
|
196 | 196 | return ['DisplayName' => $name, 'FolderClass' => $folderClass]; |
197 | 197 | }, $names); |
198 | 198 | |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | { |
257 | 257 | $items = Utilities\ensureIsArray($items, true); |
258 | 258 | |
259 | - $items = array_map(function ($item) { |
|
259 | + $items = array_map(function($item) { |
|
260 | 260 | $item = Type\ItemIdType::buildFromArray($item); |
261 | 261 | |
262 | 262 | return $item->toArray(); |