Passed
Push — master ( 9c56dd...fd3a5c )
by Jelle
06:01 queued 01:21
created
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.
src/PdfTinkerServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,17 +13,17 @@
 block discarded – undo
13 13
 {
14 14
     public function register()
15 15
     {
16
-        $this->app->singleton(PdfTinkerManager::class, function () {
16
+        $this->app->singleton(PdfTinkerManager::class, function() {
17 17
             $manager = new PdfTinkerManager();
18 18
 
19
-            $manager->extend('dompdf', function () {
19
+            $manager->extend('dompdf', function() {
20 20
                 $dompdf = new Dompdf();
21 21
                 $dompdf->setBasePath(realpath(base_path('public')));
22 22
 
23 23
                 return new DompdfDriver($dompdf);
24 24
             });
25 25
 
26
-            $manager->extend('wkhtmltopdf', function () {
26
+            $manager->extend('wkhtmltopdf', function() {
27 27
                 return new WkhtmltopdfDriver(new Pdf);
28 28
             });
29 29
 
Please login to merge, or discard this patch.
src/Http/routes.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -6,19 +6,19 @@
 block discarded – undo
6 6
 Route::group([
7 7
     'prefix' => config('laravel-pdf-tinker.route_prefix'),
8 8
     'as' => 'vendor.laravel-pdf-tinker.'
9
-], function () {
10
-    Route::get('/playground', [PlaygroundController::class, 'index'])
9
+], function() {
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.