Skip to content

Commit

Permalink
removed workraround for fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Mar 6, 2021
1 parent 83face2 commit 0103ba3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RobotLoader/RobotLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public function register(bool $prepend = false): self
public function tryLoad(string $type): void
{
$this->loadCache();
$type = ltrim($type, '\\'); // PHP namespace bug #49143
$info = $this->classes[$type] ?? null;

if ($this->autoRebuild) {
Expand Down

0 comments on commit 0103ba3

Please sign in to comment.