@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | */ |
| 107 | 107 | public function setContent($content) |
| 108 | 108 | { |
| 109 | - $this->content = str_replace('+', ' ', $content);; |
|
| 109 | + $this->content = str_replace('+', ' ', $content); ; |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | return array('r' => 255, 'g' => 255, 'b' => 255, 'a' => 255); |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | - if (! preg_match("/^([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/", $color)) { |
|
| 187 | + if (!preg_match("/^([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/", $color)) { |
|
| 188 | 188 | $color = $default; |
| 189 | 189 | } |
| 190 | 190 | |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function boot() |
| 15 | 15 | { |
| 16 | - $this->app->booted(function () { |
|
| 16 | + $this->app->booted(function() { |
|
| 17 | 17 | $this->defineRoutes(); |
| 18 | 18 | }); |
| 19 | 19 | } |
@@ -35,11 +35,11 @@ discard block |
||
| 35 | 35 | */ |
| 36 | 36 | protected function defineRoutes() |
| 37 | 37 | { |
| 38 | - if (! $this->app->routesAreCached()) { |
|
| 38 | + if (!$this->app->routesAreCached()) { |
|
| 39 | 39 | $router = app('router'); |
| 40 | 40 | |
| 41 | - $router->group(['namespace' => 'Nathanmac\QRCode\Controllers'], function ($router) { |
|
| 42 | - require __DIR__.'/routes.php'; |
|
| 41 | + $router->group(['namespace' => 'Nathanmac\QRCode\Controllers'], function($router) { |
|
| 42 | + require __DIR__ . '/routes.php'; |
|
| 43 | 43 | }); |
| 44 | 44 | } |
| 45 | 45 | } |