Skip to content

Commit 10d41a4

Browse files
issei-mfabpot
authored andcommitted
[Form] updated exception message of ButtonBuilder::setRequestHandler()
1 parent 2820629 commit 10d41a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ButtonBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ public function setMethod($method)
498498
*/
499499
public function setRequestHandler(RequestHandlerInterface $requestHandler)
500500
{
501-
throw new BadMethodCallException('Buttons do not support form processors.');
501+
throw new BadMethodCallException('Buttons do not support request handlers.');
502502
}
503503

504504
/**

0 commit comments

Comments
 (0)