add translation
This commit is contained in:
1 parent
d4e87f00e4
commit
dc614c2545
20 files changed
+941
-801
No files matched your search
@@ -6,7 +6,6 @@ namespace Hekmatinasser\Verta\Traits;
|
||||
|
||||
use DateTimeZone;
|
||||
use Hekmatinasser\Verta\Verta;
|
||||
use Hekmatinasser\Verta\VertaInterface;
|
||||
use InvalidArgumentException;
|
||||
|
||||
trait Accessor
|
||||
@@ -43,7 +42,7 @@ trait Accessor
|
||||
return (int) $this->format($formats[$name]);
|
||||
|
||||
case $name === 'quarter':
|
||||
return (int) ceil($this->month / VertaInterface::MONTHS_PER_QUARTER);
|
||||
return (int) ceil($this->month / static::MONTHS_PER_QUARTER);
|
||||
|
||||
case $name === 'timezone':
|
||||
return $this->getTimezone()->getName();
|
||||
|
||||
Reference in new issue
Block a user