Passed
Branch master (fa9ffe)
by Marcus
03:12
created
Category
src/Laravel/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function register()
14 14
     {
15
-        $this->app->bind('Roaring', function ($app) {
15
+        $this->app->bind('Roaring', function($app) {
16 16
             return new Roaring(config('services.roaring.key'), config('services.roaring.secret'));
17 17
         });
18 18
     }
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function provides()
26 26
     {
27
-        return ['Roaring'];
27
+        return [ 'Roaring' ];
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/Roaring.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @param  array  $parameters
58 58
      * @return stdClass
59 59
      */
60
-    public function get(string $path, array $headers = [], array $parameters = []) : Roaring
60
+    public function get(string $path, array $headers = [ ], array $parameters = [ ]) : Roaring
61 61
     {
62 62
         if ($this->token) {
63 63
             $headers += [
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @param  array  $body
83 83
      * @return stdClass
84 84
      */
85
-    public function post(string $path, array $headers = [], array $body = []) : Roaring
85
+    public function post(string $path, array $headers = [ ], array $body = [ ]) : Roaring
86 86
     {
87 87
         if ($this->token) {
88 88
             $headers += [
Please login to merge, or discard this patch.