Skip to content

Commit

Permalink
use implode in favor of join
Browse files Browse the repository at this point in the history
Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
alexanderkroneis and crynobone authored Dec 6, 2024
1 parent da74720 commit ed7f9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ public static function pan($value)
{
$value = (string) $value;

return join(' ', str_split($value, 4));
return implode(' ', str_split($value, 4));
}

/**
Expand Down

0 comments on commit ed7f9e2

Please sign in to comment.