Test Setup Failed
Push — master ( f37a40...b20e5e )
by Zacchaeus
03:44 queued 12s
created
src/GrammarServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function register()
44 44
     {
45
-        $this->app->bind('laravel-grammar', function () {
45
+        $this->app->bind('laravel-grammar', function() {
46 46
             return new Word();
47 47
         });
48 48
     }
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $timestamp = date('Y_m_d_His');
68 68
 
69 69
         return Collection::make($this->app->databasePath().DIRECTORY_SEPARATOR.'migrations'.DIRECTORY_SEPARATOR)
70
-            ->flatMap(function ($path) use ($filesystem) {
70
+            ->flatMap(function($path) use ($filesystem) {
71 71
                 return $filesystem->glob($path.'*_create_laravel_grammar_table.php');
72 72
             })->push($this->app->databasePath()."/migrations/{$timestamp}_create_laravel_grammar_table.php")
73 73
             ->first();
Please login to merge, or discard this patch.
src/Helpers/helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2
-if(!function_exists('part_of_speech')) {
2
+if (!function_exists('part_of_speech')) {
3 3
     function part_of_speech($word) {
4 4
         return (new \Djunehor\Grammar\Word())->getWordPartOfSpeech($word);
5 5
     }
6 6
 }
7 7
 
8
-if(!function_exists('parts_of_speech')) {
8
+if (!function_exists('parts_of_speech')) {
9 9
     function parts_of_speech() {
10 10
         return (new \Djunehor\Grammar\Word())->getPartsOfSpeech();
11 11
     }
Please login to merge, or discard this patch.