Completed
Push — master ( 7a7c4e...586336 )
by Nate
11s
created
src/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,6 @@
 block discarded – undo
67 67
      */
68 68
     protected function verbs(): array
69 69
     {
70
-        return [];
70
+        return [ ];
71 71
     }
72 72
 }
Please login to merge, or discard this patch.
src/UrlManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * @inheritdoc
27 27
      */
28
-    public function __construct(array $config = [])
28
+    public function __construct(array $config = [ ])
29 29
     {
30
-        $config['rules'] = $this->getRules();
30
+        $config[ 'rules' ] = $this->getRules();
31 31
         parent::__construct($config);
32 32
     }
33 33
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     public function parseRequest($request)
52 52
     {
53 53
         if (!$result = parent::parseRequest($request)) {
54
-            Craft::warning("Unable to parse request: " . $request->getUrl());
54
+            Craft::warning("Unable to parse request: ".$request->getUrl());
55 55
         }
56 56
 
57 57
         return $result;
Please login to merge, or discard this patch.
config/rest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@  discard block
 block discarded – undo
10 10
                 'enableAutoLogin' => false,
11 11
                 'autoRenewCookie' => false,
12 12
                 'enableSession' => false,
13
-                'identityCookie' => Craft::cookieConfig(['name' => $stateKeyPrefix.'_identity']),
14
-                'usernameCookie' => Craft::cookieConfig(['name' => $stateKeyPrefix.'_username']),
13
+                'identityCookie' => Craft::cookieConfig([ 'name' => $stateKeyPrefix.'_identity' ]),
14
+                'usernameCookie' => Craft::cookieConfig([ 'name' => $stateKeyPrefix.'_username' ]),
15 15
                 'loginUrl' => null,
16 16
                 'idParam' => $stateKeyPrefix.'__id',
17 17
                 'authTimeoutParam' => $stateKeyPrefix.'__expire',
@@ -48,5 +48,5 @@  discard block
 block discarded – undo
48 48
     'modules' => [
49 49
         'debug' => null
50 50
     ],
51
-    'bootstrap' => []
51
+    'bootstrap' => [ ]
52 52
 ];
53 53
\ No newline at end of file
Please login to merge, or discard this patch.
src/JsonParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@
 block discarded – undo
33 33
     {
34 34
         foreach ($arr as $key => $value) {
35 35
             if ($value === null) {
36
-                $arr[$key] = '';
36
+                $arr[ $key ] = '';
37 37
             }
38 38
             if (is_array($value)) {
39
-                $arr[$key] = $this->filterNullValuesFromArray($value);
39
+                $arr[ $key ] = $this->filterNullValuesFromArray($value);
40 40
             }
41 41
         }
42 42
 
Please login to merge, or discard this patch.