We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebb46b8 commit 8a71cd3Copy full SHA for 8a71cd3
src/Illuminate/Database/Migrations/Migrator.php
@@ -71,7 +71,7 @@ class Migrator
71
*
72
* @var array<string, \Illuminate\Database\Migrations\Migration|null>
73
*/
74
- protected static $pathsAlreadyRequired = [];
+ protected static $requiredPathCache = [];
75
76
/**
77
* The output interface implementation.
@@ -518,7 +518,7 @@ protected function resolvePath(string $path)
518
return new $class;
519
}
520
521
- $migration = static::$pathsAlreadyRequired[$path] ??= $this->files->getRequire($path);
+ $migration = static::$requiredPathCache[$path] ??= $this->files->getRequire($path);
522
523
if (is_object($migration)) {
524
return clone $migration;
0 commit comments