Skip to content

Commit cd5d802

Browse files
committed
Fix PHP 8.4 deprecation
1 parent fc927d4 commit cd5d802

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Type/Square/QrCode/SpecRs.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public function createFrame(int $version): array
220220
* @param int $xpos X position
221221
* @param int $ypos Y position
222222
* @param string $repl Value to replace
223-
* @param int $replLen Length of the repl string
223+
* @param int|null $replLen Length of the repl string
224224
*
225225
* @return array<int, string> srctab
226226
*/
@@ -229,7 +229,7 @@ public function qrstrset(
229229
int $xpos,
230230
int $ypos,
231231
string $repl,
232-
int $replLen = null
232+
?int $replLen = null
233233
): array {
234234
$srctab[$ypos] = substr_replace(
235235
$srctab[$ypos],

0 commit comments

Comments
 (0)