Skip to content

Commit

Permalink
Fix PHP 8.4 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Dec 25, 2024
1 parent fc927d4 commit cd5d802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Type/Square/QrCode/SpecRs.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function createFrame(int $version): array
* @param int $xpos X position
* @param int $ypos Y position
* @param string $repl Value to replace
* @param int $replLen Length of the repl string
* @param int|null $replLen Length of the repl string
*
* @return array<int, string> srctab
*/
Expand All @@ -229,7 +229,7 @@ public function qrstrset(
int $xpos,
int $ypos,
string $repl,
int $replLen = null
?int $replLen = null
): array {
$srctab[$ypos] = substr_replace(
$srctab[$ypos],
Expand Down

0 comments on commit cd5d802

Please sign in to comment.