diff --git a/src/Verta.php b/src/Verta.php index a85b223..232eb6a 100755 --- a/src/Verta.php +++ b/src/Verta.php @@ -2161,7 +2161,7 @@ class Verta extends DateTime { */ public function addYears($value) { - return $this->modify((int) $value.' year'); + return $this->year($this->year + $value); } /** @@ -2185,7 +2185,7 @@ class Verta extends DateTime { */ public function subYears($value) { - return $this->addYears(-1 * $value)->modify('-1 day'); + return $this->addYears(-1 * $value); } /**