Merge pull request #694 from faissaloux/refactor-result-php

Replace magic number `0` by meaningful const
This commit is contained in:
Nuno Maduro
2023-03-18 20:08:48 +00:00
committed by GitHub

View File

@ -31,7 +31,7 @@ final class Result
*/
public static function ok(): bool
{
return self::exitCode() === 0;
return self::exitCode() === self::SUCCESS_EXIT;
}
/**