Skip to content

Commit f2615ec

Browse files
committed
fix style
1 parent 8248d8a commit f2615ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/PermissionServiceProvider.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ public function boot(PermissionRegistrar $permissionLoader)
2222
__DIR__ . '/../config/permission.php' => $this->app->configPath() . '/permission.php',
2323
], 'config');
2424

25-
if (! class_exists('CreatePermissionTables')) {
25+
if (!class_exists('CreatePermissionTables')) {
2626
$timestamp = date('Y_m_d_His');
27+
$mFilePath = $this->app->databasePath() . "/migrations/{$timestamp}_create_permission_collections.php";
2728
$this->publishes([
28-
__DIR__.'/../database/migrations/create_permission_collections.php.stub' => $this->app->databasePath()."/migrations/{$timestamp}_create_permission_collections.php",
29+
__DIR__ . '/../database/migrations/create_permission_collections.php.stub' => $mFilePath,
2930
], 'migrations');
3031
}
3132
}

0 commit comments

Comments
 (0)