8000 [Filesystem] Sprintf typo in exception · symfony/symfony@84bb6bc · GitHub
[go: up one dir, main page]

Skip to content

Commit 84bb6bc

Browse files
committed
[Filesystem] Sprintf typo in exception
- Is "%" instead of "%s"
1 parent c6db266 commit 84bb6bc
< 8000 /div>

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Util/Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function rename($origin, $target)
133133
{
134134
// we check that target does not exist
135135
if (is_readable($target)) {
136-
throw new \RuntimeException(sprintf('Cannot rename because the target "%" already exist.', $target));
136+
throw new \RuntimeException(sprintf('Cannot rename because the target "%s" already exist.', $target));
137137
}
138138

139139
rename($origin, $target);

0 commit comments

Comments
 (0)
0