Skip to content

Commit b5e2a38

Browse files
committed
Merge branch '2.6' into 2.7
* 2.6: [2.6][Validator] Fix BC for Validator's validate method Very small typo fix Fix quoting style consistency. [DependencyInjection] Fail when dumping a Definition with no class nor factory Normalizing recursively - see #9096 No change - the normalizeParams is a copy-and-paste of the earlier logic fixes issue with logging array of non-utf8 data fix validation for Maestro UK card numbers Conflicts: src/Symfony/Component/Security/Http/Firewall/DigestAuthenticationListener.php src/Symfony/Component/Validator/Validator/LegacyValidator.php
2 parents d21eb68 + 1a74640 commit b5e2a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Annotation/Route.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(array $data)
4848
foreach ($data as $key => $value) {
4949
$method = 'set'.str_replace('_', '', $key);
5050
if (!method_exists($this, $method)) {
51-
throw new \BadMethodCallException(sprintf("Unknown property '%s' on annotation '%s'.", $key, get_class($this)));
51+
throw new \BadMethodCallException(sprintf('Unknown property "%s" on annotation "%s".', $key, get_class($this)));
5252
}
5353
$this->$method($value);
5454
}

0 commit comments

Comments
 (0)