Skip to content

Commit 131b284

Browse files
authored
Merge pull request #32 from ensi-platform/ef-435
EF-435 удаление трейтов предыдущего класса при парсинге нового
2 parents 8965d5e + 8330fae commit 131b284

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Utils/ClassParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function parse(string $className): self
2424
{
2525
$this->ref = new ReflectionClass($className);
2626
$this->methods = null;
27+
$this->traits = null;
2728

2829
return $this;
2930
}

0 commit comments

Comments
 (0)