mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
Add phpstan level 7(#544)
This commit is contained in:
@ -8,6 +8,9 @@
|
||||
|
||||
class FTP extends AbstractStorageProvider
|
||||
{
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function validationRules(): array
|
||||
{
|
||||
return [
|
||||
@ -63,8 +66,8 @@ private function connection(): bool|Connection
|
||||
|
||||
return \App\Facades\FTP::connect(
|
||||
$credentials['host'],
|
||||
$credentials['port'],
|
||||
$credentials['ssl']
|
||||
(int) $credentials['port'],
|
||||
(bool) $credentials['ssl']
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user