Skip to content

Commit f1bccdc

Browse files
committed
fix package name in deprecation
1 parent cc11de0 commit f1bccdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/Node/FormThemeNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class FormThemeNode extends Node
2828
public function __construct(Node $form, Node $resources, int $lineno, $only = false)
2929
{
3030
if (null === $only || \is_string($only)) {
31-
trigger_deprecation('twig/twig', '3.12', 'Passing a tag to %s() is deprecated.', __METHOD__);
31+
trigger_deprecation('symfony/twig-bridge', '3.12', 'Passing a tag to %s() is deprecated.', __METHOD__);
3232
$only = \func_num_args() > 4 ? func_get_arg(4) : true;
3333
} elseif (!\is_bool($only)) {
3434
throw new \TypeError(\sprintf('Argument 4 passed to "%s()" must be a boolean, "%s" given.', __METHOD__, get_debug_type($only)));

0 commit comments

Comments
 (0)