Skip to content

Commit eecb406

Browse files
authored
Annotate SchemaFactory setDoctrineAnnotationReader as deprecated (#587)
Support for Doctrine annotations has been deprecated for some time. This is just providing some additional IDE/code insight.
1 parent 2382297 commit eecb406

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/SchemaFactory.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ public function addParameterMiddleware(ParameterMiddlewareInterface $parameterMi
211211
return $this;
212212
}
213213

214+
/**
215+
* @deprecated Use PHP8 Attributes instead
216+
*/
214217
public function setDoctrineAnnotationReader(Reader $annotationReader): self
215218
{
216219
$this->doctrineAnnotationReader = $annotationReader;

0 commit comments

Comments
 (0)