File manager - Edit - /var/www/payraty/helpdesk/vendor/pda/pheanstalk/src/Values/Success.php
Back
<?php declare(strict_types=1); namespace Pheanstalk\Values; /** * This class indicates a successful operation with no (relevant) data * We don't use `null` for this because we cannot narrow return values to just null. * For example a command that either succeeds or throws an exception would look like this: * `public function interpret(RawResponse $response): null`, which is not valid. * Instead we use this class so that we get: * `public function interpret(RawResponse $response): Success` */ final class Success { }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings