diff --git a/src/Rut.php b/src/Rut.php index b95c1c1..4b593fa 100644 --- a/src/Rut.php +++ b/src/Rut.php @@ -116,8 +116,8 @@ class Rut private static function calculateVerifier(int $number): string { /** @var list $sequence */ - $sequence = array_filter(array_reverse(str_split((string) $number)), function($d) { - return preg_match('/\d/',$d); + $sequence = array_filter(array_reverse(str_split((string) $number)), function ($d) { + return preg_match('/\d/', $d); }); $x = 2; $s = 0;