Skip to content

Commit 1c39495

Browse files
committed
Apply fixes from StyleCI
1 parent 48aeafa commit 1c39495

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Console/Commands/ButtonBackpackCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)