Skip to content

Commit 1225650

Browse files
committed
version
2 parents 3e41f9f + 9239128 commit 1225650

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Illuminate/Database/Migrations/Migrator.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,9 @@ protected function resolvePath(string $path)
525525
$migration = static::$requiredPathCache[$path] ??= $this->files->getRequire($path);
526526

527527
if (is_object($migration)) {
528-
return clone $migration;
528+
return method_exists($migration, '__construct')
529+
? $this->files->getRequire($path)
530+
: clone $migration;
529531
}
530532

531533
return new $class;

src/Illuminate/Foundation/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Application extends Container implements ApplicationContract, CachesConfig
3838
*
3939
* @var string
4040
*/
41-
const VERSION = '10.1.2';
41+
const VERSION = '10.1.3';
4242

4343
/**
4444
* The base path for the Laravel installation.

0 commit comments

Comments
 (0)