Skip to content

Commit 1ff2e86

Browse files
committed
hasTrait params
1 parent 6bbdbdd commit 1ff2e86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Transformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function transform($data)
101101
$cl = $this->handleNested($itm, $cl);
102102
$cl = $this->handleWiths($cl);
103103

104-
if ($this->hasTrait(HasFilterManager::class)) {
104+
if ($this->hasTrait($cl, HasFilterManager::class)) {
105105
$cl->setFilterManager($this->filter);
106106
}
107107
return $cl;

0 commit comments

Comments
 (0)