Skip to content

Commit

Permalink
AnnotationDriver: Fix coding standard of constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Jul 13, 2021
1 parent c990cad commit f75bd60
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Orm/Mapping/AnnotationDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ final class AnnotationDriver extends AbstractAnnotationDriver
/**
* @param string[]|null $paths
*/
public function __construct(EntityAnnotationManager $annotationManager, ?array $paths = null, ?Storage $storage = null)
{
public function __construct(
EntityAnnotationManager $annotationManager,
?array $paths = null,
?Storage $storage = null,
) {
$attributeReader = new AttributeReader;
$annotationReader = new AnnotationReader;
$paths ??= $annotationManager->getPaths();
Expand Down

0 comments on commit f75bd60

Please sign in to comment.