Passed
Push — master ( 48988c...3181ff )
by Jelle
24:43 queued 19:13
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/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.
src/PdfTinkerServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,17 +12,17 @@
 block discarded – undo
12 12
     public function register()
13 13
     {
14 14
         /** Bind the manager in the container, to allow addition of drivers */
15
-        $this->app->singleton(PdfTinkerManager::class, function () {
15
+        $this->app->singleton(PdfTinkerManager::class, function() {
16 16
             $manager = new PdfTinkerManager();
17 17
 
18
-            $manager->extend('dompdf', function () {
18
+            $manager->extend('dompdf', function() {
19 19
                 $dompdf = new \Dompdf\Dompdf();
20 20
                 $dompdf->setBasePath(realpath(base_path('public')));
21 21
 
22 22
                 return new DompdfDriver($dompdf);
23 23
             });
24 24
 
25
-            $manager->extend('wkhtmltopdf', function () {
25
+            $manager->extend('wkhtmltopdf', function() {
26 26
                 return new WkhtmltopdfDriver(new \mikehaertl\wkhtmlto\Pdf);
27 27
             });
28 28
 
Please login to merge, or discard this patch.