Skip to content

Commit

Permalink
Change order of annotation factories making `AttributeAnnotationFacto…
Browse files Browse the repository at this point in the history
…ry` the first
  • Loading branch information
DerManoMann committed Apr 18, 2024
1 parent 4d3d6ef commit cc21aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function setNamespaces(?array $namespaces): Generator

public function getAnalyser(): AnalyserInterface
{
$this->analyser = $this->analyser ?: new ReflectionAnalyser([new DocBlockAnnotationFactory(), new AttributeAnnotationFactory()]);
$this->analyser = $this->analyser ?: new ReflectionAnalyser([new AttributeAnnotationFactory(), new DocBlockAnnotationFactory()]);
$this->analyser->setGenerator($this);

return $this->analyser;
Expand Down

0 comments on commit cc21aaf

Please sign in to comment.