File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function handle()
6565 public function fire ()
6666 {
6767 $ name = Str::of ($ this ->getNameInput ());
68- $ path = $ this ->getPath ($ name );
68+ $ path = $ this ->getPath ($ name );
6969
7070 if ($ this ->alreadyExists ($ this ->getNameInput ())) {
7171 $ this ->error ($ this ->type .' already existed! ' );
@@ -78,7 +78,7 @@ public function fire()
7878
7979 $ this ->makeDirectory ($ path );
8080 $ this ->files ->put ($ path , $ this ->buildClass ($ name ));
81-
81+
8282 $ this ->closeProgressBlock ();
8383 $ this ->newLine ();
8484 $ this ->info ($ this ->type .' created successfully. ' );
@@ -103,7 +103,7 @@ protected function alreadyExists($name)
103103 */
104104 protected function getPath ($ name )
105105 {
106- return resource_path ("views/vendor/backpack/crud/buttons/ $ name.blade.php " );
106+ return resource_path ("views/vendor/backpack/crud/buttons/ $ name.blade.php " );
107107 }
108108
109109 /**
@@ -116,7 +116,7 @@ protected function buildClass($name)
116116 {
117117 $ stub = $ this ->files ->get ($ this ->getStub ());
118118 $ stub = str_replace ('dummy ' , $ name , $ stub );
119-
119+
120120 return $ stub ;
121121 }
122122
You can’t perform that action at this time.
0 commit comments