From 5c9a731b6cd146162ee8cf6edf46b9e5d4323f3f Mon Sep 17 00:00:00 2001 From: AnrDaemon Date: Mon, 13 Nov 2023 23:04:29 +0300 Subject: [PATCH] Fixed array_multisort parameters error --- src/FileRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileRepository.php b/src/FileRepository.php index 7a47fff..ef3f424 100644 --- a/src/FileRepository.php +++ b/src/FileRepository.php @@ -66,7 +66,7 @@ public function getMigrations(): array $migrations[] = $migration->withState(new State($f['name'], $f['created'])); } - \array_multisort($timestamps, $chunks, SORT_ASC | SORT_NATURAL, $migrations); + \array_multisort($timestamps, $chunks, SORT_NATURAL, $migrations); return $migrations; }