You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trigger_deprecation('symfony/webpack-encore-bundle', 'v1.15.0', 'Passing an array as first argument of stimulus_action() is deprecated.');
36
35
if ($actionName || $eventName || $parameters) {
37
36
thrownew \InvalidArgumentException('You cannot pass a string to the second or third argument nor an array to the fourth argument while passing an array to the first argument of stimulus_action(): check the documentation.');
Copy file name to clipboardExpand all lines: src/Dto/StimulusTargetsDto.php
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,6 @@ public function addTarget($dataOrControllerName, string $targetNames = null): vo
29
29
if (\is_string($dataOrControllerName)) {
30
30
$data = [$dataOrControllerName => $targetNames];
31
31
} else {
32
-
trigger_deprecation('symfony/webpack-encore-bundle', 'v1.15.0', 'Passing an array as first argument of stimulus_target() is deprecated.');
33
32
if ($targetNames) {
34
33
thrownew \InvalidArgumentException('You cannot pass a string to the second argument while passing an array to the first argument of stimulus_target(): check the documentation.');
0 commit comments