mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 07:22:34 +00:00
Add phpstan level 7(#544)
This commit is contained in:
@ -8,6 +8,8 @@
|
||||
class UpdateEnv
|
||||
{
|
||||
/**
|
||||
* @param array<string, mixed> $input
|
||||
*
|
||||
* @throws SSHError
|
||||
*/
|
||||
public function update(Site $site, array $input): void
|
||||
@ -15,7 +17,7 @@ public function update(Site $site, array $input): void
|
||||
$site->server->os()->editFileAs(
|
||||
$site->path.'/.env',
|
||||
$site->user,
|
||||
trim($input['env']),
|
||||
trim((string) $input['env']),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user