mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +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
|
public static function ok(): bool
|
||||||
{
|
{
|
||||||
return self::exitCode() === 0;
|
return self::exitCode() === self::SUCCESS_EXIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user