Passed
Push — master ( abe994...f48346 )
by ma
01:30
created
src/Calendar.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -818,7 +818,7 @@  discard block
 block discarded – undo
818 818
      * @param bool  $absolute
819 819
      * @return int
820 820
      */
821
-    public function diffInYears(array $lunar1,array $lunar2,bool $absolute = true)
821
+    public function diffInYears(array $lunar1, array $lunar2, bool $absolute = true)
822 822
     {
823 823
         $solar1 =
824 824
             $this->lunar2solar($lunar1['lunar_year'], $lunar1['lunar_month'], $lunar1['lunar_day'], $lunar1['is_leap']);
@@ -859,7 +859,7 @@  discard block
 block discarded – undo
859 859
      * @param bool $absolute
860 860
      * @return float|int|mixed
861 861
      */
862
-    public function diffInMonths(array $lunar1,array $lunar2,bool $absolute = true)
862
+    public function diffInMonths(array $lunar1, array $lunar2, bool $absolute = true)
863 863
     {
864 864
         $solar1 =
865 865
             $this->lunar2solar($lunar1['lunar_year'], $lunar1['lunar_month'], $lunar1['lunar_day'], $lunar1['is_leap']);
@@ -918,7 +918,7 @@  discard block
 block discarded – undo
918 918
      *
919 919
      * @return int
920 920
      */
921
-    public function diffInDays(array $lunar1,array $lunar2,bool $absolute = true)
921
+    public function diffInDays(array $lunar1, array $lunar2, bool $absolute = true)
922 922
     {
923 923
         $solar1 =
924 924
             $this->lunar2solar($lunar1['lunar_year'], $lunar1['lunar_month'], $lunar1['lunar_day'], $lunar1['is_leap']);
@@ -940,7 +940,7 @@  discard block
 block discarded – undo
940 940
      *
941 941
      * @return array
942 942
      */
943
-    public function addYears(array $lunar,int $value = 1,bool $overFlow = true)
943
+    public function addYears(array $lunar, int $value = 1, bool $overFlow = true)
944 944
     {
945 945
         $newYear = $lunar['lunar_year'] + $value;
946 946
         $newMonth = $lunar['lunar_month'];
Please login to merge, or discard this patch.