Skip to content

Commit 8a71cd3

Browse files
committed
variable name
1 parent ebb46b8 commit 8a71cd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Database/Migrations/Migrator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Migrator
7171
*
7272
* @var array<string, \Illuminate\Database\Migrations\Migration|null>
7373
*/
74-
protected static $pathsAlreadyRequired = [];
74+
protected static $requiredPathCache = [];
7575

7676
/**
7777
* The output interface implementation.
@@ -518,7 +518,7 @@ protected function resolvePath(string $path)
518518
return new $class;
519519
}
520520

521-
$migration = static::$pathsAlreadyRequired[$path] ??= $this->files->getRequire($path);
521+
$migration = static::$requiredPathCache[$path] ??= $this->files->getRequire($path);
522522

523523
if (is_object($migration)) {
524524
return clone $migration;

0 commit comments

Comments
 (0)