Skip to content

Commit 7296907

Browse files
gaetan-hexadoggithub-actions[bot]
authored andcommitted
PHP Linting (Pint)
1 parent 82c17ea commit 7296907

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Theme.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function getVendor(): string
200200
*/
201201
public function hasParent(): bool
202202
{
203-
return !is_null($this->parent);
203+
return ! is_null($this->parent);
204204
}
205205

206206
/**
@@ -250,7 +250,7 @@ public function getScreenshotImageBase64(): ?string
250250
{
251251
$screenshotImage = $this->getAssetsPath($this->screenshot);
252252

253-
if (!is_file($screenshotImage)) {
253+
if (! is_file($screenshotImage)) {
254254
return null;
255255
}
256256

@@ -270,7 +270,7 @@ public function enabled(): bool
270270
*/
271271
public function disabled(): bool
272272
{
273-
return !$this->enabled();
273+
return ! $this->enabled();
274274
}
275275

276276
/**
@@ -387,12 +387,12 @@ protected function assertPublicAssetsPath(): void
387387
$publicThemeVendorPath = dirname($publicThemeAssetsPath);
388388

389389
// Create target public theme vendor directory if required
390-
if (!file_exists($publicThemeVendorPath)) {
390+
if (! file_exists($publicThemeVendorPath)) {
391391
app(Filesystem::class)->makeDirectory($publicThemeVendorPath, 0755, true);
392392
}
393393

394394
// Create target symlink public theme assets directory if required
395-
if (!file_exists($publicThemeAssetsPath)) {
395+
if (! file_exists($publicThemeAssetsPath)) {
396396
if (Config::get('themes-manager.symlink_relative', false)) {
397397
app(Filesystem::class)->relativeLink($themeAssetsPath, rtrim($publicThemeAssetsPath, '/'));
398398
} else {

0 commit comments

Comments
 (0)