File manager - Edit - /var/www/payraty/helpdesk/vendor/league/flysystem-ftp/ConnectivityCheckerThatCanFail.php
Back
<?php declare(strict_types=1); namespace League\Flysystem\Ftp; class ConnectivityCheckerThatCanFail implements ConnectivityChecker { private bool $failNextCall = false; public function __construct(private ConnectivityChecker $connectivityChecker) { } public function failNextCall(): void { $this->failNextCall = true; } /** * @inheritDoc */ public function isConnected($connection): bool { if ($this->failNextCall) { $this->failNextCall = false; return false; } return $this->connectivityChecker->isConnected($connection); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.4 |
proxy
|
phpinfo
|
Settings