Passed
Push — master ( c21d64...956340 )
by Arthur
05:06
created
src/Foundation/Tests/BootstrappingTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     protected $service;
17 17
 
18
-    public function __construct(?string $name = null, array $data = [], string $dataName = '')
18
+    public function __construct(?string $name = null, array $data = [ ], string $dataName = '')
19 19
     {
20 20
         parent::__construct($name, $data, $dataName);
21 21
         $this->service = new BootstrapRegistrarService();
Please login to merge, or discard this patch.
src/Foundation/Abstracts/Tests/HttpTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@  discard block
 block discarded – undo
27 27
 
28 28
     private function getUserTokenData(): \stdClass
29 29
     {
30
-        return Cache::remember('testing:http_access_token', 60, function () {
30
+        return Cache::remember('testing:http_access_token', 60, function() {
31 31
             $httpClient = new Client();
32
-            $response = $httpClient->post(config('laravel-auth0.domain') . 'oauth/token', [
32
+            $response = $httpClient->post(config('laravel-auth0.domain').'oauth/token', [
33 33
                 'form_params' => [
34 34
                     'grant_type' => 'password',
35 35
                     'client_id' => 'Dik7up1ZsRePpdZNjzrHIAUHe8mCb3RK',
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
 
50 50
     private function sendRequest(string $method, string $route, array $payload = array(), $authenticated = true): \Illuminate\Foundation\Testing\TestResponse
51 51
     {
52
-        return $this->json($method, env('API_URL') . '/' . $route, $payload, $authenticated ? [
53
-            "Authorization" => "Bearer " . $this->getUserTokenData()->id_token
54
-        ] : []);
52
+        return $this->json($method, env('API_URL').'/'.$route, $payload, $authenticated ? [
53
+            "Authorization" => "Bearer ".$this->getUserTokenData()->id_token
54
+        ] : [ ]);
55 55
     }
56 56
 
57 57
     protected function httpNoAuth(string $method, string $route, array $payload = array())
Please login to merge, or discard this patch.