Skip to content

Commit 8304bcc

Browse files
committed
Undefined variable $name
1 parent b10ca1f commit 8304bcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Workflow/Definition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function setInitialPlace($place)
6565
public function addPlace($place)
6666
{
6767
if (!preg_match('{^[\w\d_-]+$}', $place)) {
68-
throw new InvalidArgumentException(sprintf('The place "%s" contains invalid characters.', $name));
68+
throw new InvalidArgumentException(sprintf('The place "%s" contains invalid characters.', $place));
6969
}
7070

7171
if (!count($this->places)) {

0 commit comments

Comments
 (0)