Skip to content

Commit e64baf5

Browse files
committed
Fix phpdoc and unnecessary sprintf
1 parent dc0116a commit e64baf5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/DependencyInjection/Loader/Configurator/DefaultsConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class DefaultsConfigurator extends AbstractServiceConfigurator
4040
final public function tag($name, array $attributes = array())
4141
{
4242
if (!is_string($name) || '' === $name) {
43-
throw new InvalidArgumentException(sprintf('The tag name in "_defaults" must be a non-empty string.'));
43+
throw new InvalidArgumentException('The tag name in "_defaults" must be a non-empty string.');
4444
}
4545

4646
foreach ($attributes as $attribute => $value) {

src/Symfony/Component/Routing/Loader/Configurator/CollectionConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __destruct()
4242
* Adds a route.
4343
*
4444
* @param string $name
45-
* @param string $value
45+
* @param string $path
4646
*
4747
* @return RouteConfigurator
4848
*/

0 commit comments

Comments
 (0)