Skip to content

Commit

Permalink
Using ${var} in strings is deprecated, use {$var} instead
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty199369 authored Sep 12, 2024
1 parent 295a517 commit 9c3f72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/data/StaticAndConsts.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ class StaticAndConsts

public static function sticFunction($var)
{
return "I am a static function with param ${var}!";
return "I am a static function with param {$var}!";
}
}

0 comments on commit 9c3f72f

Please sign in to comment.