Passed
Branch feature/refactoring-samurai (b4e88e)
by Giuliano
03:41
created
src/Entities/Theme.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -278,10 +278,10 @@
 block discarded – undo
278 278
     private function init(string $package) : Theme
279 279
     {
280 280
         $this->setVendor($package)
281
-             ->setDirectiveFinder()
282
-             ->setComposer()
283
-             ->setStructure()
284
-             ->setPublisher();
281
+                ->setDirectiveFinder()
282
+                ->setComposer()
283
+                ->setStructure()
284
+                ->setPublisher();
285 285
 
286 286
         if ($this->exists()) {
287 287
             return $this->import();
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -71,9 +71,9 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * {@inheritDoc}
73 73
      */
74
-    public function author(string $author = null) : Author|Theme
74
+    public function author(string $author = null) : Author | Theme
75 75
     {
76
-        if (! $author) {
76
+        if (!$author) {
77 77
             return $this->getAuthor();
78 78
         }
79 79
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      */
134 134
     public function find() : ?Theme
135 135
     {
136
-        if (! $this->exists()) {
136
+        if (!$this->exists()) {
137 137
             return null;
138 138
         }
139 139
 
@@ -143,9 +143,9 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * {@inheritDoc}
145 145
      */
146
-    public function description(string $description = null) : Theme|string
146
+    public function description(string $description = null) : Theme | string
147 147
     {
148
-        if (! $description) {
148
+        if (!$description) {
149 149
             return $this->composer()->description();
150 150
         }
151 151
         
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      */
176 176
     public function findOrCreate() : Theme
177 177
     {
178
-        if (! $this->exists()) {
178
+        if (!$this->exists()) {
179 179
             return $this->make();
180 180
         }
181 181
 
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
         $public  = $this->config()->publishable();
248 248
         $package = $this->package();
249 249
 
250
-        $file =  '/' . $file ?? '';
250
+        $file = '/'.$file ?? '';
251 251
         $file = str_replace("'", "", $file);
252 252
 
253 253
         return sprintf('%s/%s/%s%s', $domain, $public, $package, $file);
Please login to merge, or discard this patch.