Page MenuHomeDevCentral

D2490.diff
No OneTemporary

D2490.diff

diff --git a/src/Registration/PSR4/Autoloader.php b/src/Registration/PSR4/Autoloader.php
--- a/src/Registration/PSR4/Autoloader.php
+++ b/src/Registration/PSR4/Autoloader.php
@@ -39,10 +39,8 @@
}
public function register () : void {
- $loader = $this;
-
- spl_autoload_register(function ($class) use ($loader) {
- $solver = $loader->getSolver($class);
+ spl_autoload_register(function ($class) {
+ $solver = $this->getSolver($class);
if (!$solver->canResolve()) {
return;

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 13:28 (12 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2315480
Default Alt Text
D2490.diff (560 B)

Event Timeline