Browse Source

laravel5.5

jqh 5 years ago
parent
commit
3cbf3363d3
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/Console/IdeHelperCommand.php

+ 4 - 4
src/Console/IdeHelperCommand.php

@@ -235,7 +235,7 @@ class IdeHelperCommand extends Command
                 ->map(function ($value, $key) use (&$space) {
                     return $space.sprintf($this->templates['grid-filter'], '\\'.$value, $key);
                 })
-                ->join("\r\n")
+                ->implode("\r\n")
         );
     }
 
@@ -253,7 +253,7 @@ class IdeHelperCommand extends Command
                 ->map(function ($value, $key) use (&$space) {
                     return $space.sprintf($this->templates['show-column'], $key);
                 })
-                ->join("\r\n")
+                ->implode("\r\n")
         );
     }
 
@@ -279,7 +279,7 @@ class IdeHelperCommand extends Command
                 ->map(function ($value, $key) use (&$space) {
                     return $space.sprintf($this->templates['form'], '\\'.$value, $key);
                 })
-                ->join("\r\n")
+                ->implode("\r\n")
         );
     }
 
@@ -305,7 +305,7 @@ class IdeHelperCommand extends Command
                 ->map(function ($value) use (&$space) {
                     return $space.sprintf($this->templates['grid-column'], $value);
                 })
-                ->join("\r\n")
+                ->implode("\r\n")
         );
     }