From 1e0a841447db7217c44a1fb9977d8f6c720fcec2 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 5 Oct 2019 20:01:08 +0200 Subject: [PATCH] Add docblocks --- Localization/Defaults/Country.php | 12 ++++++++++++ Localization/Defaults/Language.php | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/Localization/Defaults/Country.php b/Localization/Defaults/Country.php index d66c79953..3be6e0edb 100644 --- a/Localization/Defaults/Country.php +++ b/Localization/Defaults/Country.php @@ -72,6 +72,18 @@ final class Country */ private $subdevision = ''; + /** + * Get id + * + * @return int + * + * @since 1.0.0 + */ + public function getId() : int + { + return $this->id; + } + /** * Get country name * diff --git a/Localization/Defaults/Language.php b/Localization/Defaults/Language.php index a52c46b98..0e446d8e6 100644 --- a/Localization/Defaults/Language.php +++ b/Localization/Defaults/Language.php @@ -72,6 +72,18 @@ final class Language */ private $code3Native = ''; + /** + * Get id + * + * @return int + * + * @since 1.0.0 + */ + public function getId() : int + { + return $this->id; + } + /** * Get language name *