- Minor bugfixes

This commit is contained in:
Dave Mc Nicoll committed 2023-11-01 11:30:49 -04:00
1 parent 7a06f5fd64
commit f6d86001d5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ class QueryBuilder implements Ulmus\Query\QueryBuilderInterface
return null;
}
public function removeFragment(Ulmus\Query\Fragment $fragment) : void
public function removeFragment(array|string|Ulmus\Query\Fragment|\Stringable $fragment) : void
{
foreach($this->queryStack as $key => $item) {
if ( $item === $fragment ) {