@@ -310,7 +310,7 @@ |
||
310 | 310 | return false; |
311 | 311 | } |
312 | 312 | |
313 | - $this->app->terminating(function () { |
|
313 | + $this->app->terminating(function() { |
|
314 | 314 | return $this->registerTexts(); |
315 | 315 | }); |
316 | 316 | } |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | $this->commands(['command.multilang.migration', 'command.multilang.texts']); |
42 | 42 | |
43 | 43 | // Register blade directives |
44 | - Blade::directive('t', function ($expression) { |
|
44 | + Blade::directive('t', function($expression) { |
|
45 | 45 | |
46 | 46 | if (strpos($expression, ',') !== false) { |
47 | 47 | list($key, $default) = explode(',', str_replace(['(', ')'], '', $expression)); |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $configPath = __DIR__ . '/../config/config.php'; |
66 | 66 | $this->mergeConfigFrom($configPath, 'debugbar'); |
67 | 67 | |
68 | - $this->app->singleton('multilang', function ($app) { |
|
68 | + $this->app->singleton('multilang', function($app) { |
|
69 | 69 | $locale = $app->getLocale(); |
70 | 70 | $multilang = new \Longman\LaravelMultiLang\MultiLang( |
71 | 71 | $app, |
@@ -81,13 +81,13 @@ discard block |
||
81 | 81 | $this->app->alias('multilang', 'Longman\LaravelMultiLang\MultiLang'); |
82 | 82 | |
83 | 83 | $this->app['command.multilang.migration'] = $this->app->share( |
84 | - function ($app) { |
|
84 | + function($app) { |
|
85 | 85 | return new MigrationCommand(); |
86 | 86 | } |
87 | 87 | ); |
88 | 88 | |
89 | 89 | $this->app['command.multilang.texts'] = $this->app->share( |
90 | - function ($app) { |
|
90 | + function($app) { |
|
91 | 91 | return new TextsCommand(); |
92 | 92 | } |
93 | 93 | ); |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | */ |
136 | 136 | protected function registerBladeDirectives() |
137 | 137 | { |
138 | - \Blade::directive('t', function ($expression) { |
|
138 | + \Blade::directive('t', function($expression) { |
|
139 | 139 | return "<?php echo t({$expression}); ?>"; |
140 | 140 | }); |
141 | 141 | } |
@@ -53,7 +53,7 @@ |
||
53 | 53 | $this->info('Migration successfully created!'); |
54 | 54 | } else { |
55 | 55 | $this->error( |
56 | - 'Couldn\'t create migration.'.PHP_EOL.' Check the write permissions |
|
56 | + 'Couldn\'t create migration.' . PHP_EOL . ' Check the write permissions |
|
57 | 57 | within the database/migrations directory.' |
58 | 58 | ); |
59 | 59 | } |