Completed
Push — master ( 32ae29...9a8ecb )
by Gareth
03:30
created
src/NotificationAPI.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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(),
Please login to merge, or discard this patch.
src/Utilities/getFolderIds.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
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
     }, []);
Please login to merge, or discard this patch.
src/API.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.