diff --git a/src/Utils/ClassParser.php b/src/Utils/ClassParser.php index 2fd0794..ab1408d 100644 --- a/src/Utils/ClassParser.php +++ b/src/Utils/ClassParser.php @@ -24,6 +24,7 @@ public function parse(string $className): self { $this->ref = new ReflectionClass($className); $this->methods = null; + $this->traits = null; return $this; }