@@ -51,7 +51,7 @@ |
||
51 | 51 | |
52 | 52 | $response = \ApiConsumer::post('/oauth/token', $data); |
53 | 53 | |
54 | - if (! $response->isSuccessful()) { |
|
54 | + if ( ! $response->isSuccessful()) { |
|
55 | 55 | if ($grantType == 'refresh_token') { |
56 | 56 | \ErrorHandler::invalidRefreshToken(); |
57 | 57 | } |
@@ -28,27 +28,27 @@ |
||
28 | 28 | public function register() |
29 | 29 | { |
30 | 30 | //Bind Core Facade to the IoC Container |
31 | - \App::bind('Core', function () { |
|
31 | + \App::bind('Core', function() { |
|
32 | 32 | return new \App\Modules\Core\Core; |
33 | 33 | }); |
34 | 34 | |
35 | 35 | //Bind ErrorHandler Facade to the IoC Container |
36 | - \App::bind('ErrorHandler', function () { |
|
36 | + \App::bind('ErrorHandler', function() { |
|
37 | 37 | return new \App\Modules\Core\Utl\ErrorHandler; |
38 | 38 | }); |
39 | 39 | |
40 | 40 | //Bind CoreConfig Facade to the IoC Container |
41 | - \App::bind('CoreConfig', function () { |
|
41 | + \App::bind('CoreConfig', function() { |
|
42 | 42 | return new \App\Modules\Core\Utl\CoreConfig; |
43 | 43 | }); |
44 | 44 | |
45 | 45 | //Bind Mpgs Facade to the IoC Container |
46 | - \App::bind('Media', function () { |
|
46 | + \App::bind('Media', function() { |
|
47 | 47 | return new \App\Modules\Core\Utl\Media; |
48 | 48 | }); |
49 | 49 | |
50 | 50 | //Bind Mpgs Facade to the IoC Container |
51 | - \App::bind('ApiConsumer', function () { |
|
51 | + \App::bind('ApiConsumer', function() { |
|
52 | 52 | return new \App\Modules\Core\Utl\ApiConsumer; |
53 | 53 | }); |
54 | 54 |
@@ -214,7 +214,7 @@ |
||
214 | 214 | $server = []; |
215 | 215 | |
216 | 216 | foreach ($headers as $headerType => $headerValue) { |
217 | - $headerType = 'HTTP_' . $headerType; |
|
217 | + $headerType = 'HTTP_'.$headerType; |
|
218 | 218 | |
219 | 219 | $server[$headerType] = $headerValue; |
220 | 220 | } |