Completed
Branch master (1995c1)
by Raffael
08:57
created
src/lib/Balloon/Exception/Forbidden.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/Exception/InvalidArgument.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/Exception/InsufficientStorage.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/Exception/NotAuthenticated.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/Rest/v1/Session.php 1 patch
Spacing   +4 added lines, -4 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
@@ -63,12 +63,12 @@  discard block
 block discarded – undo
63 63
      * @param   string $p
64 64
      * @return  Response
65 65
      */
66
-    public function post(?string $id=null, ?string $p=null): Response
66
+    public function post(? string $id = null, ? string $p = null) : Response
67 67
     {
68 68
         $node     = $this->fs->getNode($id, $p, 'File');
69 69
         $document = new Document($this->fs->getDatabase(), $node);
70 70
     
71
-        $session= new WopiSession($this->fs, $document, (int)$this->config->apps->Office->config->token_ttl);
71
+        $session = new WopiSession($this->fs, $document, (int)$this->config->apps->Office->config->token_ttl);
72 72
         $member = new Member($this->fs->getUser(), (int)$this->config->apps->Office->config->token_ttl);
73 73
         $session->join($member)
74 74
                 ->store();
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function postJoin(string $id): Response
109 109
     {
110
-        $session= WopiSession::getSessionById($this->fs, $this->parseId($id));
110
+        $session = WopiSession::getSessionById($this->fs, $this->parseId($id));
111 111
         $member = new Member($this->fs->getUser(), (int)$this->config->apps->Office->config->token_ttl);
112 112
         $session->join($member)
113 113
                 ->store();
Please login to merge, or discard this patch.
src/app/Office/src/lib/Template.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     protected function getTemplate(): string
67 67
     {
68 68
         return dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'assets'
69
-          .DIRECTORY_SEPARATOR.'template.'.$this->type;
69
+            .DIRECTORY_SEPARATOR.'template.'.$this->type;
70 70
     }
71 71
 
72 72
 
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.