Passed
Push — main ( 866200...d1171c )
by PRATIK
06:34 queued 03:38
created
src/Providers/NepalidateServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     public function register()
14 14
     {
15 15
         // Register the main class to use with the facade
16
-        $this->app->singleton('nepali_date', function () {
16
+        $this->app->singleton('nepali_date', function() {
17 17
             return new NepaliDate;
18 18
         });
19 19
     }
Please login to merge, or discard this patch.
src/Helpers/NepaliDateHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,21 +3,21 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.