We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -56,10 +56,9 @@ |
||
| 56 | 56 | */ |
| 57 | 57 | protected function getPath($name) |
| 58 | 58 | { |
| 59 | - if($this->sourceViewNamespace) { |
|
| 59 | + if ($this->sourceViewNamespace) { |
|
| 60 | 60 | $themePath = Str::contains($this->sourceViewNamespace, '::') ? |
| 61 | - Str::before($this->sourceViewNamespace, '::') : |
|
| 62 | - Str::beforeLast($this->sourceViewNamespace, '.'); |
|
| 61 | + Str::before($this->sourceViewNamespace, '::') : Str::beforeLast($this->sourceViewNamespace, '.'); |
|
| 63 | 62 | |
| 64 | 63 | $themePath = Str::replace('.', '/', $themePath); |
| 65 | 64 | |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | { |
| 54 | 54 | $this->setupSourceFile(); |
| 55 | 55 | |
| 56 | - if($this->sourceFile === false) { return false; } |
|
| 56 | + if ($this->sourceFile === false) { return false; } |
|
| 57 | 57 | |
| 58 | 58 | $name = Str::of($this->getNameInput()); |
| 59 | 59 | $path = Str::of($this->getPath($name)); |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | $this->sourceFile = realpath(substr($from, 1)); |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | - if (! $this->sourceFile) { |
|
| 106 | + if (!$this->sourceFile) { |
|
| 107 | 107 | $this->errorProgressBlock(); |
| 108 | 108 | $this->note("$this->type '$from' does not exist!", 'red'); |
| 109 | 109 | $this->newLine(); |