Remove calls to PHP 8.5-deprecated setAccessible (#1744)

These are no-op as of PHP 8.1 and thus no longer needed

See also https://wiki.php.net/rfc/make-reflection-setaccessible-no-op
This commit is contained in:
Jesper Noordsij
2025-12-10 10:10:09 +01:00
committed by GitHub
parent 12a0d7d54c
commit e9283c40a2
3 changed files with 0 additions and 8 deletions
-1
View File
@@ -124,7 +124,6 @@ $reflection = new ReflectionClass($loader);
$property = $reflection->hasProperty('paths')
? $reflection->getProperty('paths')
: $reflection->getProperty('path');
$property->setAccessible(true);
$paths = Illuminate\Support\Arr::wrap($property->getValue($loader));