Completed
Branch master (1995c1)
by Raffael
08:57
created
src/lib/Balloon/Controller.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/Adapter/Oauth2.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     protected $resource;
43 43
     
44 44
 
45
-   /**
45
+    /**
46 46
      * Logger
47 47
      *
48 48
      * @var Logger
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 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
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * @param   Logger $logger
98 98
      * @return  void
99 99
      */
100
-    public function __construct(?Iterable $config, Logger $logger)
100
+    public function __construct(? Iterable $config, Logger $logger)
101 101
     {
102 102
         $this->logger = $logger;
103 103
         $this->setOptions($config);
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      * @param   Iterable
111 111
      * @return  Oauth2
112 112
      */
113
-    public function setOptions(?Iterable $config): Oauth2
113
+    public function setOptions(? Iterable $config) : Oauth2
114 114
     {
115 115
         if ($config === null) {
116 116
             return $this;
@@ -266,9 +266,9 @@  discard block
 block discarded – undo
266 266
         $jre = json_decode($re);
267 267
         
268 268
         if ($jre->status == "success") {
269
-            return (array) $jre->data;
269
+            return (array)$jre->data;
270 270
         } elseif ($jre->status == "fail") {
271
-            throw new Exception('Error while validating the acces token. Auth server responded: ' . $jre->message);
271
+            throw new Exception('Error while validating the acces token. Auth server responded: '.$jre->message);
272 272
         } else {
273 273
             throw new Exception('could not decode response: '.$re);
274 274
         }
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/Log/Adapter/Blackhole.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/Log/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/Ldap/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/Queue/Preview.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/Queue/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.