Skip to content

Commit d7f5159

Browse files
committed
minor symfony#58147 [TwigBridge] fix package name in deprecation (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [TwigBridge] fix package name in deprecation | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT copy-and-paste mistake made in symfony#58116 Commits ------- f1bccdc fix package name in deprecation
2 parents 8d8fbb0 + f1bccdc commit d7f5159

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)