Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
3m1n3nc3 authored and github-actions[bot] committed Jul 5, 2024
1 parent a7a06ee commit 44d486d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/SocialInteractionsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ public function boot()
* Optional methods to load your package assets
*/
if ($this->unmigrated('create_social_interactions_table') || $this->unmigrated('create_social_interactions_table')) {
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
$this->loadMigrationsFrom(__DIR__.'/../database/migrations');
}

if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__ . '/../config/config.php' => config_path('social-interactions.php'),
__DIR__.'/../config/config.php' => config_path('social-interactions.php'),
], 'social-interactions-config');

if ($this->unmigrated('create_social_interactions_table')) {
$this->publishes([
__DIR__ . '/../database/migrations/2024_06_30_213055_create_social_interactions_table.php' => database_path('migrations/' . date('Y_m_d_His', time()) . '_create_social_interactions_table.php'),
__DIR__.'/../database/migrations/2024_06_30_213055_create_social_interactions_table.php' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_social_interactions_table.php'),
], 'social-interactions-migrations');
}

if ($this->unmigrated('create_social_interaction_saves_table')) {
$this->publishes([
__DIR__ . '/../database/migrations/2024_06_30_213056_create_social_interaction_saves_table.php' => database_path('migrations/' . date('Y_m_d_His', time()) . '_create_social_interaction_saves_table.php'),
__DIR__.'/../database/migrations/2024_06_30_213056_create_social_interaction_saves_table.php' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_social_interaction_saves_table.php'),
], 'social-interactions-migrations');
}
}
Expand All @@ -55,7 +55,7 @@ function (SplFileInfo $file) use ($table) {
public function register()
{
// Automatically apply the package configuration
$this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'social-interactions');
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'social-interactions');

// Register the main class to use with the facade
$this->app->singleton('social-interactions', function () {
Expand Down

0 comments on commit 44d486d

Please sign in to comment.