Skip to content

Commit 24f0f79

Browse files
committed
refactor: Removal of Deprecated
1 parent 23ad328 commit 24f0f79

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

WebFiori/Http/WebServicesManager.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,6 @@ private function configureServiceParameters(WebService $service): void {
10261026

10271027
if ($targetMethod && method_exists($service, 'configureParametersForMethod')) {
10281028
$reflection = new \ReflectionMethod($service, 'configureParametersForMethod');
1029-
$reflection->setAccessible(true);
10301029
$reflection->invoke($service, $targetMethod);
10311030
}
10321031
}

tests/WebFiori/Tests/Http/ExceptionHandlingTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ public function testHandleExceptionMethod() {
9494
// Test the handleException method directly
9595
$reflection = new \ReflectionClass($service);
9696
$method = $reflection->getMethod('handleException');
97-
$method->setAccessible(true);
9897

9998
// The method should not throw an exception
10099
$this->expectNotToPerformAssertions();

0 commit comments

Comments
 (0)