@@ -3,21 +3,21 @@ |
||
| 3 | 3 | use Carbon\Carbon; |
| 4 | 4 | use Pratiksh\Nepalidate\Facades\NepaliDate; |
| 5 | 5 | |
| 6 | -if (! function_exists('toBS')) { |
|
| 6 | +if (!function_exists('toBS')) { |
|
| 7 | 7 | function toBS(Carbon $date) |
| 8 | 8 | { |
| 9 | 9 | return NepaliDate::create($date)->toBS(); |
| 10 | 10 | } |
| 11 | 11 | } |
| 12 | 12 | |
| 13 | -if (! function_exists('toFormattedBSDate')) { |
|
| 13 | +if (!function_exists('toFormattedBSDate')) { |
|
| 14 | 14 | function toFormattedBSDate(Carbon $date) |
| 15 | 15 | { |
| 16 | 16 | return NepaliDate::create($date)->toFormattedBSDate(); |
| 17 | 17 | } |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | -if (! function_exists('toFormattedNepaliDate')) { |
|
| 20 | +if (!function_exists('toFormattedNepaliDate')) { |
|
| 21 | 21 | function toFormattedNepaliDate(Carbon $date) |
| 22 | 22 | { |
| 23 | 23 | return NepaliDate::create($date)->toFormattedNepaliDate(); |