Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 authored and github-actions[bot] committed Sep 15, 2024
1 parent 9436c6b commit b16f665
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Exceptions/GiftException.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
16 changes: 8 additions & 8 deletions src/GiftServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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()) {
Expand Down

0 comments on commit b16f665

Please sign in to comment.