Skip to content

Commit

Permalink
Merge pull request #13 from andegna/analysis-8nK5nA
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
SamAsEnd authored Sep 2, 2016
2 parents ce3d953 + b7e49f8 commit 625d137
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/Calender.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ public static function jdToEthiopian($jdn, $array = false)
$month = (int) ($n / 30) + 1;
$day = ($n % 30) + 1;

return ($array ? compact('day', 'month', 'year') : "$month/$day/$year");
return $array ? compact('day', 'month', 'year') : "$month/$day/$year";
}
}
28 changes: 14 additions & 14 deletions tests/IsEthiopicLeapYearTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ public function testMethodExists()
public function methodDataProvider()
{
return [
[-1 , true], // 1 A.D
[0 , false],
[1 , false],
[1998 , false],
[1999 , true],
[2000 , false],
[2001 , false],
[2002 , false],
[2003 , true],
[2004 , false],
[2005 , false],
[2006 , false],
[2007 , true],
[2008 , false],
[-1, true], // 1 A.D
[0, false],
[1, false],
[1998, false],
[1999, true],
[2000, false],
[2001, false],
[2002, false],
[2003, true],
[2004, false],
[2005, false],
[2006, false],
[2007, true],
[2008, false],
];
}

Expand Down

0 comments on commit 625d137

Please sign in to comment.