Skip to content

Commit dd4fb2a

Browse files
committed
[Contracts] Add mixed type
Signed-off-by: Alexander M. Turek <[email protected]>
1 parent 15e4e2c commit dd4fb2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 <[email protected]>
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)