@@ -24,7 +24,7 @@ |
||
| 24 | 24 | public function register(): void |
| 25 | 25 | { |
| 26 | 26 | // Register the main class to use with the facade |
| 27 | - $this->app->singleton(EasyPdf::class, function () { |
|
| 27 | + $this->app->singleton(EasyPdf::class, function() { |
|
| 28 | 28 | return new EasyPdf(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | public function __construct(?string $imagePath = null) |
| 47 | 47 | { |
| 48 | - if ($imagePath !== null && ! defined('K_PATH_IMAGES')) { |
|
| 48 | + if ($imagePath !== null && !defined('K_PATH_IMAGES')) { |
|
| 49 | 49 | define('K_PATH_IMAGES', $imagePath); |
| 50 | 50 | } |
| 51 | 51 | |
@@ -331,7 +331,7 @@ discard block |
||
| 331 | 331 | */ |
| 332 | 332 | public function setHeader($header = null) |
| 333 | 333 | { |
| 334 | - if (! is_null($header)) { |
|
| 334 | + if (!is_null($header)) { |
|
| 335 | 335 | $this->header = $header; |
| 336 | 336 | } |
| 337 | 337 | |
@@ -348,7 +348,7 @@ discard block |
||
| 348 | 348 | */ |
| 349 | 349 | public function setFooter($footer = null) |
| 350 | 350 | { |
| 351 | - if (! is_null($footer)) { |
|
| 351 | + if (!is_null($footer)) { |
|
| 352 | 352 | $this->footer = $footer; |
| 353 | 353 | } |
| 354 | 354 | |