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 5, 2024
1 parent 856c857 commit faf8004
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
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
14 changes: 7 additions & 7 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,21 +35,21 @@ 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->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 faf8004

Please sign in to comment.