diff --git a/src/Type/Square/QrCode/SpecRs.php b/src/Type/Square/QrCode/SpecRs.php index 232ac77..45d6d11 100644 --- a/src/Type/Square/QrCode/SpecRs.php +++ b/src/Type/Square/QrCode/SpecRs.php @@ -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 srctab */ @@ -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],