Passed
Branch master (876967)
by Jelle
08:06
created
Category
src/PdfTinkerServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@
 block discarded – undo
35 35
     {
36 36
         $this->loadViewsFrom(__DIR__ . '/../assets/views', 'laravel-pdf-tinker');
37 37
 
38
-        $this->mergeConfigFrom(__DIR__.'/../config/laravel-pdf-tinker.php', 'laravel-pdf-tinker');
38
+        $this->mergeConfigFrom(__DIR__ . '/../config/laravel-pdf-tinker.php', 'laravel-pdf-tinker');
39 39
 
40
-        $this->loadRoutesFrom(__DIR__.'/Http/routes.php');
40
+        $this->loadRoutesFrom(__DIR__ . '/Http/routes.php');
41 41
 
42 42
         $this->publishes([
43 43
             __DIR__ . '/../config/laravel-pdf-tinker.php' => config_path('laravel-pdf-tinker.php'),
Please login to merge, or discard this patch.
src/Http/routes.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,18 +7,18 @@
 block discarded – undo
7 7
     'prefix' => config('laravel-pdf-tinker.route_prefix'),
8 8
     'as' => 'vendor.laravel-pdf-tinker.'
9 9
 ], function() {
10
-    Route::get('/playground', [PlaygroundController::class, 'index'])
10
+    Route::get('/playground', [ PlaygroundController::class, 'index' ])
11 11
         ->name('playground');
12 12
 
13
-    Route::post('/preview', [PlaygroundController::class, 'preview'])
13
+    Route::post('/preview', [ PlaygroundController::class, 'preview' ])
14 14
         ->name('preview');
15 15
 
16
-    Route::get('/pdf/{alias}', [PlaygroundController::class, 'download'])
16
+    Route::get('/pdf/{alias}', [ PlaygroundController::class, 'download' ])
17 17
         ->name('download');
18 18
 
19
-    Route::get('/css', [PlaygroundController::class, 'css'])
19
+    Route::get('/css', [ PlaygroundController::class, 'css' ])
20 20
         ->name('css');
21 21
 
22
-    Route::get('/js', [PlaygroundController::class, 'js'])
22
+    Route::get('/js', [ PlaygroundController::class, 'js' ])
23 23
         ->name('js');
24 24
 });
Please login to merge, or discard this patch.
src/Http/Controllers/PlaygroundController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                 ]));
46 46
 
47 47
             return response()->json([
48
-                'url' => route('vendor.laravel-pdf-tinker.download', ['alias' => $filename])
48
+                'url' => route('vendor.laravel-pdf-tinker.download', [ 'alias' => $filename ])
49 49
             ]);
50 50
         } catch (Exception $e) {
51 51
             return response()->json([
Please login to merge, or discard this patch.