From 5fa9e1a8a212c89f0b019f72c36d8546932e382e Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 21 Sep 2018 12:29:16 +0200 Subject: [PATCH] Remove references to deleted property --- framework/core/src/Database/Migrator.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/framework/core/src/Database/Migrator.php b/framework/core/src/Database/Migrator.php index 98ce7a5e0..980abe2f6 100644 --- a/framework/core/src/Database/Migrator.php +++ b/framework/core/src/Database/Migrator.php @@ -78,8 +78,6 @@ class Migrator */ public function run($path, Extension $extension = null) { - $this->notes = []; - $files = $this->getMigrationFiles($path); $ran = $this->repository->getRan($extension ? $extension->getId() : null); @@ -148,8 +146,6 @@ class Migrator */ public function reset($path, Extension $extension = null) { - $this->notes = []; - $migrations = array_reverse($this->repository->getRan($extension->getId())); $count = count($migrations); @@ -168,7 +164,7 @@ class Migrator /** * Run "down" a migration instance. * - * @param $path + * @param string $path * @param string $file * @param string $path * @param Extension $extension