mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup.
This commit is contained in:
@@ -25,18 +25,14 @@ namespace FireflyIII\Console\Commands\Integrity;
|
||||
|
||||
use FireflyIII\Console\Commands\ShowsFriendlyMessages;
|
||||
use Illuminate\Console\Command;
|
||||
use Schema;
|
||||
|
||||
/**
|
||||
* Class ReportIntegrity
|
||||
*
|
||||
|
||||
*/
|
||||
class ReportIntegrity extends Command
|
||||
{
|
||||
use ShowsFriendlyMessages;
|
||||
|
||||
|
||||
protected $description = 'Will report on the integrity of your database.';
|
||||
|
||||
protected $signature = 'firefly-iii:report-integrity';
|
||||
@@ -47,7 +43,7 @@ class ReportIntegrity extends Command
|
||||
public function handle(): int
|
||||
{
|
||||
// if table does not exist, return false
|
||||
if (!Schema::hasTable('users')) {
|
||||
if (!\Schema::hasTable('users')) {
|
||||
return 1;
|
||||
}
|
||||
$commands = [
|
||||
|
Reference in New Issue
Block a user