8000 minor #43880 [Contracts] Add mixed type (derrabus) · symfony/symfony@7d7669e · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d7669e

Browse files
minor #43880 [Contracts] Add mixed type (derrabus)
This PR was merged into the 6.0 branch. Discussion ---------- [Contracts] Add mixed type | Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A Commits ------- 2402eb3 [Contracts] Add mixed type
2 parents f7e1546 + 2402eb3 commit 7d7669e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Contracts/Deprecation/function.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @author Nicolas Grekas <p@tchwork.com>
2222
*/
23-
function trigger_deprecation(string $package, string $version, string $message, ...$args): void
23+
function trigger_deprecation(string $package, string $version, string $message, mixed ...$args): void
2424
{
2525
@trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
2626
}

0 commit comments

Comments
 (0)
0