summaryrefslogtreecommitdiffstats
path: root/php-laminas-zendframework-bridge-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-laminas-zendframework-bridge-rpm.patch')
-rw-r--r--php-laminas-zendframework-bridge-rpm.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/php-laminas-zendframework-bridge-rpm.patch b/php-laminas-zendframework-bridge-rpm.patch
index 0bd5dd1..d46d2c1 100644
--- a/php-laminas-zendframework-bridge-rpm.patch
+++ b/php-laminas-zendframework-bridge-rpm.patch
@@ -52,13 +52,12 @@ diff -up src/Autoloader.php.rpm src/Autoloader.php
if (isset($loaded[$class])) {
return;
}
-@@ -93,7 +74,8 @@ class Autoloader
+@@ -93,7 +74,7 @@ class Autoloader
return;
}
- if ($classLoader->loadClass($class)) {
-+ if ($file = \Fedora\Autoloader\Autoload::findFileForClass($class)) {
-+ \Fedora\Autoloader\includeFile($file);
++ if (\Fedora\Autoloader\Autoload::loadClass($class)) {
$legacy = $namespaces[$check]
. strtr(substr($class, strlen($check)), [
'ApiTools' => 'Apigility',