Skip to content

Commit ee13265

Browse files
committed
test: move return type annotation to phpdoc
1 parent 0cf1693 commit ee13265

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/unit/Event/EventTestTrait.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,10 @@ protected function createTestWarningTriggeredEvent(
246246
);
247247
}
248248

249-
private static function createGarbageCollectorStatus(): ?GarbageCollectorStatus
249+
/**
250+
* @return GarbageCollectorStatus|null
251+
*/
252+
private static function createGarbageCollectorStatus()
250253
{
251254
// GarbageCollectorStatus doesn't exist in PHPUnit 10.0
252255
if (class_exists(GarbageCollectorStatus::class)) {

0 commit comments

Comments
 (0)