From 6190166f5c0da44633af02730e63b05f15096f3a Mon Sep 17 00:00:00 2001
From: Sebastian Zoglowek <55794780+zoglo@users.noreply.github.com>
Date: Thu, 18 Apr 2024 10:00:55 +0200
Subject: [PATCH] Reset excluded groups when calling prepare method (see #98)
* Reset excluded options on prepare 51b2de6c51c7e990b42e46030cbea0bd77e076b9
Co-authored-by: Daniele Sciannimanica <48379929+doishub@users.noreply.github.com>
---
src/StyleManager/Styles.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/StyleManager/Styles.php b/src/StyleManager/Styles.php
index 5b924d0..8fcc5a5 100644
--- a/src/StyleManager/Styles.php
+++ b/src/StyleManager/Styles.php
@@ -86,6 +86,7 @@ public function prepare($identifier, $arrGroups=null): Styles
{
$this->currIdentifier = $identifier;
$this->currGroups = $arrGroups;
+ $this->exclGroups = null;
return $this;
}