mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
replace magic number 0 by meaningful const
This commit is contained in:
@ -31,7 +31,7 @@ final class Result
|
||||
*/
|
||||
public static function ok(): bool
|
||||
{
|
||||
return self::exitCode() === 0;
|
||||
return self::exitCode() === self::SUCCESS_EXIT;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user