Permalink
Browse files

Fix return statement for the method.

The method now correctly returns the calculated value (i.e.  when
the date is not contained in the date range and  if it is).
  • Loading branch information...
marijn committed Jun 27, 2012
1 parent 1ac624a commit 350b7ede59581200149260b143c91955d3768369
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Spil/DateRange.php
View
@@ -25,7 +25,7 @@ public function isWithin(DateTime $reference)
$isWithin = false;
}
- return true;
+ return $isWithin;
}
public function getFrom()

0 comments on commit 350b7ed

Please sign in to comment.