Skip to content

Commit 6799de7

Browse files
gaetan-hexadoggithub-actions[bot]
authored andcommitted
PHP Linting (Pint)
1 parent f88d68d commit 6799de7

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/Exceptions/InvalidJsonException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@
44

55
namespace Hexadog\ThemesManager\Exceptions;
66

7-
class InvalidJsonException extends \Exception
8-
{
9-
}
7+
class InvalidJsonException extends \Exception {}

src/Helpers/Json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class Json
3232
public function __construct(string $path, ?Filesystem $filesystem = null)
3333
{
3434
$this->path = $path;
35-
$this->filesystem = $filesystem ? $filesystem : new Filesystem();
35+
$this->filesystem = $filesystem ? $filesystem : new Filesystem;
3636
$this->attributes = collect($this->getAttributes());
3737
}
3838

src/Providers/PackageServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function register(): void
5757
$this->registerConfigs();
5858

5959
$this->app->singleton('themes-manager', function () {
60-
return new ThemesManager();
60+
return new ThemesManager;
6161
});
6262

6363
AliasLoader::getInstance()->alias('ThemesManager', ThemesManagerFacade::class);

0 commit comments

Comments
 (0)