@@ -69,17 +69,17 @@ discard block |
||
| 69 | 69 | return; |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | - $name = date('Y_m_d_His') .'_create_admins_table.php'; |
|
| 72 | + $name = date('Y_m_d_His').'_create_admins_table.php'; |
|
| 73 | 73 | shell_exec(sprintf( |
| 74 | 74 | 'cp "%s" "%s"', |
| 75 | 75 | base_path('vendor/yaro/jarboe/src/database/migrations/2018_06_28_152903_create_admins_table.php'), |
| 76 | - database_path('migrations/'. $name) |
|
| 76 | + database_path('migrations/'.$name) |
|
| 77 | 77 | )); |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | private function isMigrationFilesExist() |
| 81 | 81 | { |
| 82 | - return (bool) glob(database_path('migrations/*_create_admins_table.php')); |
|
| 82 | + return (bool)glob(database_path('migrations/*_create_admins_table.php')); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | private function copyThirdPartyMigrationFiles() |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | |
| 103 | 103 | private function isThirdPartyMigrationFilesExist() |
| 104 | 104 | { |
| 105 | - return (bool) glob(database_path('migrations/*_create_permission_tables.php')); |
|
| 105 | + return (bool)glob(database_path('migrations/*_create_permission_tables.php')); |
|
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | private function publishAssets() |