command fixes

This commit is contained in:
flash 2016-12-11 15:49:32 +01:00
parent b56a95fecc
commit ff1ad6cd56
8 changed files with 7 additions and 8 deletions

View file

@ -24,7 +24,7 @@ class DatabaseInstallCommand extends Command
*/
public function brief(): string
{
return 'Create the migration repository';
return 'Create the migration repository.';
}
/**

View file

@ -29,7 +29,7 @@ class DatabaseMigrateCommand extends Command
*/
public function brief(): string
{
return 'Run the database migrations';
return 'Run the database migrations.';
}
/**

View file

@ -24,7 +24,7 @@ class DatabaseResetCommand extends Command
*/
public function brief(): string
{
return 'Rollback all database migrations';
return 'Rollback all database migrations.';
}
/**

View file

@ -24,7 +24,7 @@ class DatabaseRollbackCommand extends Command
*/
public function brief(): string
{
return 'Rollback the last database migration';
return 'Rollback the last database migration.';
}
/**

View file

@ -30,7 +30,7 @@ class DatabaseStatusCommand extends Command
*/
public function brief(): string
{
return 'Show the status of each migration';
return 'Show the status of each migration.';
}
/**

View file

@ -15,7 +15,7 @@ use Sakura\Forum\Post;
* @package Sakura
* @author Julian van de Groep <me@flash.moe>
*/
class PurgeInactiveUsers extends Command
class PurgeInactiveUsersCommand extends Command
{
/**
* A quick description of this command.

View file

@ -23,7 +23,7 @@ class RebuildForumCacheCommand extends Command
*/
public function brief(): string
{
return 'Rebuild the forum bbcode cache';
return 'Rebuild the forum bbcode cache.';
}
/**

View file

@ -32,7 +32,6 @@ class SessionPurgeCommand extends Command
{
DB::table('sessions')
->where('session_expire', '<', time())
->where('session_remember', '!=', 1)
->delete();
}
}