mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-07 00:42:34 +00:00
Add phpstan level 7(#544)
This commit is contained in:
@ -3,8 +3,9 @@
|
||||
namespace App\SSH\Services\Database;
|
||||
|
||||
use App\Models\BackupFile;
|
||||
use App\SSH\Services\ServiceInterface;
|
||||
|
||||
interface Database
|
||||
interface Database extends ServiceInterface
|
||||
{
|
||||
public function create(string $name, string $charset, string $collation): void;
|
||||
|
||||
@ -14,6 +15,9 @@ public function createUser(string $username, string $password, string $host): vo
|
||||
|
||||
public function deleteUser(string $username, string $host): void;
|
||||
|
||||
/**
|
||||
* @param array<string> $databases
|
||||
*/
|
||||
public function link(string $username, string $host, array $databases): void;
|
||||
|
||||
public function unlink(string $username, string $host): void;
|
||||
|
Reference in New Issue
Block a user