Minor performance optimisation: use $x+=3 instead of $x=$x+3

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83576 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2011-12-03 10:02:24 +00:00
parent 11c87c19ad
commit bde593557d
1 changed files with 2 additions and 2 deletions

View File

@ -181,9 +181,9 @@ class PHPExcel_Shared_Date
// Julian base date Adjustment // Julian base date Adjustment
if ($month > 2) { if ($month > 2) {
$month = $month - 3; $month -= 3;
} else { } else {
$month = $month + 9; $month += 9;
--$year; --$year;
} }