diff --git a/src/Commands/InstallCommand.php b/src/Commands/InstallCommand.php index 7aa6d41..4cc756f 100644 --- a/src/Commands/InstallCommand.php +++ b/src/Commands/InstallCommand.php @@ -12,7 +12,7 @@ class InstallCommand extends Command public function handle(): int { - $this->infoMessage("Module Installation", 'RUNNING'); + $this->infoMessage('Module Installation', 'RUNNING'); return self::SUCCESS; } diff --git a/src/Exceptions/GiftException.php b/src/Exceptions/GiftException.php index 9cbb67c..39aacf1 100644 --- a/src/Exceptions/GiftException.php +++ b/src/Exceptions/GiftException.php @@ -13,8 +13,8 @@ class GiftException extends Exception /** * CoreException constructor. * - * @param string $message - * @param int $code + * @param string $message + * @param int $code */ public function __construct($message = '', $code = 0, ?Throwable $previous = null) { diff --git a/src/GiftServiceProvider.php b/src/GiftServiceProvider.php index 688e829..c471c59 100644 --- a/src/GiftServiceProvider.php +++ b/src/GiftServiceProvider.php @@ -21,7 +21,7 @@ public function register() $this->packageCode = 'gift'; $this->mergeConfigFrom( - __DIR__ . '/../config/gift.php', 'fintech.gift' + __DIR__.'/../config/gift.php', 'fintech.gift' ); $this->app->register(RepositoryServiceProvider::class); @@ -35,23 +35,23 @@ public function boot(): void $this->injectOnConfig(); $this->publishes([ - __DIR__ . '/../config/gift.php' => config_path('fintech/gift.php'), + __DIR__.'/../config/gift.php' => config_path('fintech/gift.php'), ]); - $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); + $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); - $this->loadTranslationsFrom(__DIR__ . '/../lang', 'gift'); + $this->loadTranslationsFrom(__DIR__.'/../lang', 'gift'); $this->publishes([ - __DIR__ . '/../lang' => $this->app->langPath('vendor/gift'), + __DIR__.'/../lang' => $this->app->langPath('vendor/gift'), ]); - $this->loadViewsFrom(__DIR__ . '/../resources/views', 'gift'); + $this->loadViewsFrom(__DIR__.'/../resources/views', 'gift'); - $this->loadRoutesFrom(__DIR__ . '/../routes/api.php'); + $this->loadRoutesFrom(__DIR__.'/../routes/api.php'); $this->publishes([ - __DIR__ . '/../resources/views' => resource_path('views/vendor/gift'), + __DIR__.'/../resources/views' => resource_path('views/vendor/gift'), ]); if ($this->app->runningInConsole()) {