Completed
Pull Request — master (#52)
by
unknown
03:05
created
src/app/Office/src/lib/Rest/v1/Document.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param   string $p
47 47
      * @return  Response
48 48
      */
49
-    public function get(?string $id=null, ?string $p=null): Response
49
+    public function get(? string $id = null, ? string $p = null) : Response
50 50
     {
51 51
         $node     = $this->fs->getNode($id, $p, 'File');
52 52
         $document = new OfficeDoc($this->fs->getDatabase(), $node);
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @param   int $conflict
119 119
      * @return  Response
120 120
      */
121
-    public function put(string $name, string $type, ?string $collection=null, array $attributes=[], int $conflict=0): Response
121
+    public function put(string $name, string $type, ? string $collection = null, array $attributes = [], int $conflict = 0) : Response
122 122
     {
123 123
         $parent = $this->fs->getNode($collection, null, 'Collection', false, true);
124 124
         $tpl    = new Template($type);
Please login to merge, or discard this patch.
src/app/Office/src/lib/Rest/v1/Wopi/Document.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     public function getContents(string $id, string $access_token): void
127 127
     {
128 128
         $session = Session::getByAccessToken($this->fs, $this->parseId($id), $access_token);
129
-        $stream =  $session->getDocument()->get();
129
+        $stream = $session->getDocument()->get();
130 130
 
131 131
         while (!feof($stream)) {
132 132
             echo fread($stream, 8192);
Please login to merge, or discard this patch.
src/app/Office/src/lib/Document.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.
src/app/Office/src/lib/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.
src/app/Office/src/lib/Plugin/Office.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.
src/lib/Balloon/Auth/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.
src/lib/Balloon/Filesystem/Node/INode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.
src/lib/Balloon/App/AppInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.
src/lib/Balloon/App/Webdav.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * Balloon
Please login to merge, or discard this patch.