Skip to content

Commit d538a2d

Browse files
committed
Fix quotes in exception messages
1 parent a4f9145 commit d538a2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Routing/RouterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ public function testExceptionOnNonStringParameter()
405405
public function testExceptionOnNonStringParameterWithSfContainer()
406406
{
407407
$this->expectException('Symfony\Component\DependencyInjection\Exception\RuntimeException');
408-
$this->expectExceptionMessage('The container parameter "object", used in the route configuration value "/%object%", must be a string or numeric, but it is of type object.');
408+
$this->expectExceptionMessage('The container parameter "object", used in the route configuration value "/%object%", must be a string or numeric, but it is of type "object".');
409409
$routes = new RouteCollection();
410410

411411
$routes->add('foo', new Route('/%object%'));

0 commit comments

Comments
 (0)