@@ -13,7 +13,7 @@ |
||
13 | 13 | public function register() |
14 | 14 | { |
15 | 15 | // Register the main class to use with the facade |
16 | - $this->app->singleton('nepalidate', function () { |
|
16 | + $this->app->singleton('nepalidate', function() { |
|
17 | 17 | return new NepaliDate; |
18 | 18 | }); |
19 | 19 | } |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | use Carbon\Carbon; |
4 | 4 | use Pratiksh\Nepalidate\Facades\NepaliDate; |
5 | 5 | |
6 | -if (! function_exists('nepaliDate')) { |
|
6 | +if (!function_exists('nepaliDate')) { |
|
7 | 7 | function nepaliDate(Carbon $date) |
8 | 8 | { |
9 | 9 | $mode = config('nepalidate.mode', 1); |
@@ -19,21 +19,21 @@ discard block |
||
19 | 19 | } |
20 | 20 | } |
21 | 21 | |
22 | -if (! function_exists('toBS')) { |
|
22 | +if (!function_exists('toBS')) { |
|
23 | 23 | function toBS(Carbon $date) |
24 | 24 | { |
25 | 25 | return NepaliDate::create($date)->toBS(); |
26 | 26 | } |
27 | 27 | } |
28 | 28 | |
29 | -if (! function_exists('toFormattedBSDate')) { |
|
29 | +if (!function_exists('toFormattedBSDate')) { |
|
30 | 30 | function toFormattedBSDate(Carbon $date) |
31 | 31 | { |
32 | 32 | return NepaliDate::create($date)->toFormattedBSDate(); |
33 | 33 | } |
34 | 34 | } |
35 | 35 | |
36 | -if (! function_exists('toFormattedNepaliDate')) { |
|
36 | +if (!function_exists('toFormattedNepaliDate')) { |
|
37 | 37 | function toFormattedNepaliDate(Carbon $date) |
38 | 38 | { |
39 | 39 | return NepaliDate::create($date)->toFormattedNepaliDate(); |