mirror of
https://github.com/pestphp/pest.git
synced 2026-07-23 10:00:03 +02:00
fix: undefined property
This commit is contained in:
@@ -470,7 +470,7 @@ trait Testable
|
||||
*/
|
||||
public static function getLatestPrintableTestCaseMethodName(): string
|
||||
{
|
||||
return self::$__latestDescription;
|
||||
return self::$__latestDescription ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user