@@ -80,6 +80,9 @@ discard block |
||
| 80 | 80 | return $this->loadHTML($html, $encoding); |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | + /** |
|
| 84 | + * @param string $html |
|
| 85 | + */ |
|
| 83 | 86 | public function loadHTML($html, $encoding = null) |
| 84 | 87 | { |
| 85 | 88 | $this->params['document_html'] = $html; |
@@ -174,7 +177,7 @@ discard block |
||
| 174 | 177 | } |
| 175 | 178 | |
| 176 | 179 | /** |
| 177 | - * @param $uri |
|
| 180 | + * @param string $uri |
|
| 178 | 181 | * @param $postParams |
| 179 | 182 | * |
| 180 | 183 | * @return string |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | |
| 20 | 20 | public function register() |
| 21 | 21 | { |
| 22 | - $this->app->bind('pdflayer', function (Application $app) { |
|
| 22 | + $this->app->bind('pdflayer', function(Application $app) { |
|
| 23 | 23 | return new PDF($app->make(Client::class), $app['config'], $app['files'], $app['view']); |
| 24 | 24 | }); |
| 25 | 25 | |