mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Aligned command class code
- Aligned usage of injecting through handler. - Aligned handler return type. - Aligned argument and arg desc format. - Aligned lack of constructor.
This commit is contained in:
@@ -54,12 +54,4 @@ class View extends Model
|
||||
|
||||
return $view->views;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear all views from the system.
|
||||
*/
|
||||
public static function clearAll()
|
||||
{
|
||||
static::query()->truncate();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user