Test Setup Failed
Push — master ( d67a41...267baf )
by Zacchaeus
08:36 queued 05:16
created
src/Word.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,9 @@
 block discarded – undo
21 21
 
22 22
     public function __construct($string = null)
23 23
     {
24
-        if ($string) $this->string = $string;
24
+        if ($string) {
25
+            $this->string = $string;
26
+        }
25 27
         $this->table = config('laravel-grammar.table', 'entries');
26 28
     }
27 29
 
Please login to merge, or discard this patch.
src/GrammarServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     public function boot(Filesystem $filesystem)
18 18
     {
19 19
         $publishTag = 'laravel-grammar';
20
-        if (app() instanceof \Illuminate\Foundation\Application)  {
20
+        if (app() instanceof \Illuminate\Foundation\Application) {
21 21
             $this->publishes([
22 22
                 __DIR__.'/config/laravel-grammar.php' => config_path('laravel-grammar.php'),
23 23
             ], $publishTag);
@@ -27,10 +27,10 @@  discard block
 block discarded – undo
27 27
             ], $publishTag);
28 28
 
29 29
             $this->publishes([
30
-                __DIR__ . "/database/seeds/LaravelGrammarSeeder.php.stub" => database_path('seeds/LaravelGrammarSeeder.php')],
30
+                __DIR__."/database/seeds/LaravelGrammarSeeder.php.stub" => database_path('seeds/LaravelGrammarSeeder.php')],
31 31
                 $publishTag);
32 32
             $this->publishes([
33
-                __DIR__ . "/database/seeds/entries.csv.zip" => database_path('seeds/entries.csv.zip')],
33
+                __DIR__."/database/seeds/entries.csv.zip" => database_path('seeds/entries.csv.zip')],
34 34
                 $publishTag);
35 35
 
36 36
         }
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function register()
46 46
     {
47
-        $this->app->bind('laravel-grammar', function () {
47
+        $this->app->bind('laravel-grammar', function() {
48 48
 
49 49
             return new Word();
50 50
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         $timestamp = date('Y_m_d_His');
72 72
 
73 73
         return Collection::make($this->app->databasePath().DIRECTORY_SEPARATOR.'migrations'.DIRECTORY_SEPARATOR)
74
-            ->flatMap(function ($path) use ($filesystem) {
74
+            ->flatMap(function($path) use ($filesystem) {
75 75
                 return $filesystem->glob($path.'*_create_laravel_grammar_table.php');
76 76
             })->push($this->app->databasePath()."/migrations/{$timestamp}_create_laravel_grammar_table.php")
77 77
             ->first();
Please login to merge, or discard this patch.