Merge pull request #4 from killgt/master

Wrong code shown when exceptions are thrown in the first 8 lines
This commit is contained in:
Filipe Dobreira
2013-04-12 01:08:34 -07:00
+3
View File
@@ -161,6 +161,9 @@ class Frame
{
$start = (int) $start;
$length = (int) $length;
if ($start < 0) {
$start = 0;
}
if($length <= 0) {
throw new InvalidArgumentException(