@@ -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 | }, []); |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | public function createFolders($names, FolderIdType $parentFolder, $options = array(), $folderClass = null) |
194 | 194 | { |
195 | 195 | $names = Utilities\ensureIsArray($names); |
196 | - $names = array_map(function ($name) use ($folderClass) { |
|
196 | + $names = array_map(function($name) use ($folderClass) { |
|
197 | 197 | return ['DisplayName' => $name, 'FolderClass' => $folderClass]; |
198 | 198 | }, $names); |
199 | 199 | |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | { |
258 | 258 | $items = Utilities\ensureIsArray($items, true); |
259 | 259 | |
260 | - $items = array_map(function ($item) { |
|
260 | + $items = array_map(function($item) { |
|
261 | 261 | $item = Type\ItemIdType::buildFromArray($item); |
262 | 262 | |
263 | 263 | return $item->toArray(); |