Completed
Push — master ( b6761a...812e85 )
by Mike
03:58
created
src/TranslatableServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,17 +15,17 @@
 block discarded – undo
15 15
 {
16 16
     public function boot()
17 17
     {
18
-        $this->loadMigrationsFrom(__DIR__ . '/database/migrations/');
18
+        $this->loadMigrationsFrom(__DIR__.'/database/migrations/');
19 19
         
20 20
         $this->publishes([
21
-            __DIR__ . '/database/migrations/' => database_path('migrations')
21
+            __DIR__.'/database/migrations/' => database_path('migrations')
22 22
         ], 'migrations');
23 23
         
24 24
         $this->publishes([
25
-            __DIR__ . '/config/languages.php' => config_path('languages.php'),
25
+            __DIR__.'/config/languages.php' => config_path('languages.php'),
26 26
         ], 'config');
27 27
         
28
-        Collection::macro('for', function ($field, $code) {
28
+        Collection::macro('for', function($field, $code) {
29 29
             return $this->where('key', $field)->where('locale', $code)->pluck('value')->first() ?? null;
30 30
         });
31 31
     }
Please login to merge, or discard this patch.