Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 667924c

Browse files
committed
fix deprecation message
1 parent 6cb90da commit 667924c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Workflow/DefinitionBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function addTransition(Transition $transition)
129129
*/
130130
public function reset()
131131
{
132-
@trigger_error(sprintf('The "%s" method is deprecated since Symfony 4.1, use the "clear()" method instead.', __METHOD__), E_USER_DEPRECATED);
132+
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.1, use the "clear()" method instead.', __METHOD__), E_USER_DEPRECATED);
133133

134134
return $this->clear();
135135
}

0 commit comments

Comments
 (0)