Completed
Branch dev (276354)
by Raffael
15:43
created
src/app/Balloon.App.Preview/Migration/Delta/Installation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/app/Balloon.App.Preview/Migration/Delta/PreviewIntoApp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/app/Balloon.App.Sharelink/Migration/Delta/SharelinkIntoApp.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@
 block discarded – undo
49 49
             $this->db->storage->updateOne(
50 50
                 ['_id' => $object['_id']],
51 51
                 [
52
-                  '$unset' => ['sharelink' => 1],
53
-                  '$set' => ['app.Balloon\App\Sharelink' => $object['sharelink']],
52
+                    '$unset' => ['sharelink' => 1],
53
+                    '$set' => ['app.Balloon\App\Sharelink' => $object['sharelink']],
54 54
                 ]
55 55
             );
56 56
         }
Please login to merge, or discard this patch.
src/app/Balloon.App.Sharelink/Migration/Delta/Installation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/app/Balloon.App.Office/Constructor/Http.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
@@ -105,11 +105,11 @@  discard block
 block discarded – undo
105 105
             switch ($option) {
106 106
                 case 'loleaflet':
107 107
                 case 'wopi_url':
108
-                    $this->{$option} = (string) $value;
108
+                    $this->{$option} = (string)$value;
109 109
 
110 110
                 break;
111 111
                 case 'token_ttl':
112
-                    $this->token_ttl = (int) $value;
112
+                    $this->token_ttl = (int)$value;
113 113
 
114 114
                 break;
115 115
                 default:
Please login to merge, or discard this patch.
src/app/Balloon.App.Office/Document.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/app/Balloon.App.Elasticsearch/NodeAttributeDecorator.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
@@ -56,33 +56,33 @@  discard block
 block discarded – undo
56 56
     protected function getAttributes(NodeInterface $node, array $attributes): array
57 57
     {
58 58
         return [
59
-            'name' => (string) $attributes['name'],
60
-            'mime' => (string) $attributes['mime'],
61
-            'readonly' => (bool) $attributes['readonly'],
59
+            'name' => (string)$attributes['name'],
60
+            'mime' => (string)$attributes['mime'],
61
+            'readonly' => (bool)$attributes['readonly'],
62 62
             'directory' => $node instanceof Collection,
63 63
             'meta' => $node->getMetaAttributes(),
64 64
             'size' => $node->getSize(),
65
-            'parent' => function ($node, $requested) use ($attributes) {
65
+            'parent' => function($node, $requested) use ($attributes) {
66 66
                 $parent = $node->getParent();
67 67
 
68 68
                 if (null === $parent || $parent->isRoot()) {
69 69
                     return null;
70 70
                 }
71 71
 
72
-                return (string) $attributes['parent'];
72
+                return (string)$attributes['parent'];
73 73
             },
74
-            'owner' => (string) $attributes['owner'],
75
-            'share' => (string) $attributes['shared'],
74
+            'owner' => (string)$attributes['owner'],
75
+            'share' => (string)$attributes['shared'],
76 76
             'created' => $attributes['created']->toDateTime()->format('c'),
77 77
             'changed' => $attributes['changed']->toDateTime()->format('c'),
78
-            'deleted' => function ($node, $requested) use ($attributes) {
78
+            'deleted' => function($node, $requested) use ($attributes) {
79 79
                 if (!$attributes['deleted']) {
80 80
                     return null;
81 81
                 }
82 82
 
83 83
                 return $attributes['deleted']->toDateTime()->format('c');
84 84
             },
85
-            'destroy' => function ($node, $requested) use ($attributes) {
85
+            'destroy' => function($node, $requested) use ($attributes) {
86 86
                 if (!$attributes['destroy']) {
87 87
                     return null;
88 88
                 }
Please login to merge, or discard this patch.
src/app/Balloon.App.Elasticsearch/Hook.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/app/Balloon.App.Elasticsearch/Constructor/Http.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.