diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-12-18 11:28:52 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-12-18 11:42:28 +0000 |
| commit | e20523594b1c9198044ea2549fd5fab80283ede4 (patch) | |
| tree | b68bf18600b8aa133a0e03407f7f16d8207cd1cb /app/Date | |
| parent | 07cae1156c3ade93a10becbc6a3bba7bcf932920 (diff) | |
| download | webtrees-e20523594b1c9198044ea2549fd5fab80283ede4.tar.gz webtrees-e20523594b1c9198044ea2549fd5fab80283ede4.tar.bz2 webtrees-e20523594b1c9198044ea2549fd5fab80283ede4.zip | |
PHP-CS-FIXER
Diffstat (limited to 'app/Date')
| -rw-r--r-- | app/Date/CalendarDate.php | 6 | ||||
| -rw-r--r-- | app/Date/FrenchDate.php | 2 | ||||
| -rw-r--r-- | app/Date/HijriDate.php | 2 | ||||
| -rw-r--r-- | app/Date/JalaliDate.php | 2 | ||||
| -rw-r--r-- | app/Date/JewishDate.php | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/app/Date/CalendarDate.php b/app/Date/CalendarDate.php index f201e10aee..9db4a8d2ff 100644 --- a/app/Date/CalendarDate.php +++ b/app/Date/CalendarDate.php @@ -32,7 +32,7 @@ use Fisharebest\Webtrees\I18N; * midday. */ class CalendarDate { - /** @var integer[] Convert GEDCOM month names to month numbers */ + /** @var int[] Convert GEDCOM month names to month numbers */ public static $MONTH_ABBREV = array('' => 0, 'JAN' => 1, 'FEB' => 2, 'MAR' => 3, 'APR' => 4, 'MAY' => 5, 'JUN' => 6, 'JUL' => 7, 'AUG' => 8, 'SEP' => 9, 'OCT' => 10, 'NOV' => 11, 'DEC' => 12); /** @var string[] Convert numbers to/from roman numerals */ @@ -842,7 +842,7 @@ class CalendarDate { /** * Which months follows this one? Calendars with leap-months should provide their own implementation. * - * @return integer[] + * @return int[] */ protected function nextMonth() { return array($this->m === $this->calendar->monthsInYear() ? $this->nextYear($this->y) : $this->y, ($this->m % $this->calendar->monthsInYear()) + 1); @@ -893,7 +893,7 @@ class CalendarDate { /** * Get today’s date in the current calendar. * - * @return integer[] + * @return int[] */ public function todayYmd() { return $this->calendar->jdToYmd(unixtojd()); diff --git a/app/Date/FrenchDate.php b/app/Date/FrenchDate.php index 707d21b7e3..d58681c3f9 100644 --- a/app/Date/FrenchDate.php +++ b/app/Date/FrenchDate.php @@ -22,7 +22,7 @@ use Fisharebest\Webtrees\I18N; * Definitions for the French Republican calendar */ class FrenchDate extends CalendarDate { - /** @var integer[] Convert GEDCOM month names to month numbers */ + /** @var int[] Convert GEDCOM month names to month numbers */ public static $MONTH_ABBREV = array('' => 0, 'VEND' => 1, 'BRUM' => 2, 'FRIM' => 3, 'NIVO' => 4, 'PLUV' => 5, 'VENT' => 6, 'GERM' => 7, 'FLOR' => 8, 'PRAI' => 9, 'MESS' => 10, 'THER' => 11, 'FRUC' => 12, 'COMP' => 13); /** diff --git a/app/Date/HijriDate.php b/app/Date/HijriDate.php index 4a04f89691..411b9c1004 100644 --- a/app/Date/HijriDate.php +++ b/app/Date/HijriDate.php @@ -25,7 +25,7 @@ use Fisharebest\Webtrees\I18N; * "True" dates are based on local lunar observations, and can be a +/- one day. */ class HijriDate extends CalendarDate { - /** @var integer[] Convert GEDCOM month names to month numbers */ + /** @var int[] Convert GEDCOM month names to month numbers */ public static $MONTH_ABBREV = array('' => 0, 'MUHAR' => 1, 'SAFAR' => 2, 'RABIA' => 3, 'RABIT' => 4, 'JUMAA' => 5, 'JUMAT' => 6, 'RAJAB' => 7, 'SHAAB' => 8, 'RAMAD' => 9, 'SHAWW' => 10, 'DHUAQ' => 11, 'DHUAH' => 12); /** diff --git a/app/Date/JalaliDate.php b/app/Date/JalaliDate.php index f5274c6d24..eea1080431 100644 --- a/app/Date/JalaliDate.php +++ b/app/Date/JalaliDate.php @@ -22,7 +22,7 @@ use Fisharebest\Webtrees\I18N; * Definitions for the Jalali calendar */ class JalaliDate extends CalendarDate { - /** @var integer[] Convert GEDCOM month names to month numbers */ + /** @var int[] Convert GEDCOM month names to month numbers */ public static $MONTH_ABBREV = array('' => 0, 'FARVA' => 1, 'ORDIB' => 2, 'KHORD' => 3, 'TIR' => 4, 'MORDA' => 5, 'SHAHR' => 6, 'MEHR' => 7, 'ABAN' => 8, 'AZAR' => 9, 'DEY' => 10, 'BAHMA' => 11, 'ESFAN' => 12); /** diff --git a/app/Date/JewishDate.php b/app/Date/JewishDate.php index 9ec3605619..9d5f68c082 100644 --- a/app/Date/JewishDate.php +++ b/app/Date/JewishDate.php @@ -22,7 +22,7 @@ use Fisharebest\Webtrees\I18N; * Definitions for the Jewish calendar */ class JewishDate extends CalendarDate { - /** @var integer[] Convert GEDCOM month names to month numbers */ + /** @var int[] Convert GEDCOM month names to month numbers */ public static $MONTH_ABBREV = array('' => 0, 'TSH' => 1, 'CSH' => 2, 'KSL' => 3, 'TVT' => 4, 'SHV' => 5, 'ADR' => 6, 'ADS' => 7, 'NSN' => 8, 'IYR' => 9, 'SVN' => 10, 'TMZ' => 11, 'AAV' => 12, 'ELL' => 13); /** @@ -247,7 +247,7 @@ class JewishDate extends CalendarDate { /** * Which months follows this one? Calendars with leap-months should provide their own implementation. * - * @return integer[] + * @return int[] */ protected function nextMonth() { if ($this->m == 6 && !$this->isLeapYear()) { |
