Passed
Push — 3.x ( 04852d )
by mingyoung
04:51
created
Category
src/HasAccessTokenMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 {
9 9
     protected function accessTokenMiddleware()
10 10
     {
11
-        $this->client->middleware->add('access_token', (new MergeQuery(function () {
11
+        $this->client->middleware->add('access_token', (new MergeQuery(function() {
12 12
             return ['access_token' => $this->app->access_token->get()['access_token']];
13
-        }))->ignoreWhen(function ($request) {
13
+        }))->ignoreWhen(function($request) {
14 14
             return $request->getUri()->getPath() === '/gettoken';
15 15
         }));
16 16
     }
Please login to merge, or discard this patch.
src/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         $this->accessTokenMiddleware();
31 31
 
32
-        $this->education = function () {
32
+        $this->education = function() {
33 33
             return new Education\Application($this->config->all());
34 34
         };
35 35
     }
Please login to merge, or discard this patch.
src/AccessToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function get()
13 13
     {
14
-        return $this->cache->remember(md5(json_encode($this->credentials())), 7000, function () {
14
+        return $this->cache->remember(md5(json_encode($this->credentials())), 7000, function() {
15 15
             return $this->refresh();
16 16
         });
17 17
     }
Please login to merge, or discard this patch.