@@ -18,8 +18,8 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | function descendingOrder(int $number): int |
| 20 | 20 | { |
| 21 | - $number = (int)$number; |
|
| 22 | - $arrayNumber = str_split($number); |
|
| 23 | - arsort($arrayNumber); |
|
| 24 | - return (int) implode($arrayNumber); |
|
| 21 | + $number = (int)$number; |
|
| 22 | + $arrayNumber = str_split($number); |
|
| 23 | + arsort($arrayNumber); |
|
| 24 | + return (int) implode($arrayNumber); |
|
| 25 | 25 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | function descendingOrder(int $number): int |
| 20 | 20 | { |
| 21 | - $number = (int)$number; |
|
| 21 | + $number = (int) $number; |
|
| 22 | 22 | $arrayNumber = str_split($number); |
| 23 | 23 | arsort($arrayNumber); |
| 24 | 24 | return (int) implode($arrayNumber); |