From 911793f496b21bac3b0c90fa8cb3dbbe5a001b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pedro=20Machado?= Date: Sun, 26 Sep 2021 22:55:45 +0100 Subject: [PATCH] Change ORDER to FALSE Sprinkles loades in alphabetic order, so new sprinkles not loaded in the correct order. Set this to false and all new sprinkles are loaded correctly, changing previous Key => Values --- src/Dictionary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dictionary.php b/src/Dictionary.php index 36eec35..2af4b97 100644 --- a/src/Dictionary.php +++ b/src/Dictionary.php @@ -176,7 +176,7 @@ protected function filterDictionaryFiles(array $files): array */ protected function getFiles(): array { - $ressources = $this->locator->listResources($this->uri.$this->locale->getIdentifier(), true); + $ressources = $this->locator->listResources($this->uri.$this->locale->getIdentifier(), true, false); $ressources = array_reverse($ressources); return $ressources;