Skip to content

Commit 954a655

Browse files
committed
>setAccessible( is deprecated and not needed anymore
1 parent 711638c commit 954a655

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/Unit/WorkermanResponseEmitterTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public function testInvoke(): void
6161
private static function getWorkermanResponseProperty(WorkermanResponse $workermanResponse, string $property)
6262
{
6363
$reflectionProperty = new \ReflectionProperty($workermanResponse, $property);
64-
$reflectionProperty->setAccessible(true);
6564

6665
return $reflectionProperty->getValue($workermanResponse);
6766
}

0 commit comments

Comments
 (0)