Skip to content

Commit 269a500

Browse files
authored
Merge pull request #83 from ostrolucky/fix-annot-wrong-args
Remove undefined arguments
2 parents 810f91c + 5071212 commit 269a500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Visitor/Php/Symfony/ValidationAnnotation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function enterNode(Node $node)
7373
/** @var ClassMetadata $metadata */
7474
$metadata = $this->metadataFactory->getMetadataFor($name);
7575
} catch (AnnotationException $e) {
76-
$this->addError($node, 'Could not parse class "%s" for annotations. %s', $this->namespace, $e->getMessage());
76+
$this->addError($node, sprintf('Could not parse class "%s" for annotations. %s', $this->namespace, $e->getMessage()));
7777

7878
return;
7979
}

0 commit comments

Comments
 (0)