diff --git a/src/IPub/MobileDetect/Helpers/CookieSettings.php b/src/IPub/MobileDetect/Helpers/CookieSettings.php index 7170c8a..ee712a1 100644 --- a/src/IPub/MobileDetect/Helpers/CookieSettings.php +++ b/src/IPub/MobileDetect/Helpers/CookieSettings.php @@ -37,7 +37,7 @@ final class CookieSettings extends Nette\Object private $name; /** - * @var string + * @var string|NULL */ private $domain; @@ -109,9 +109,9 @@ public function getName() : string /** * Gets the domain that the cookie is available to * - * @return string + * @return string|NULL */ - public function getDomain() : string + public function getDomain() { return $this->domain; }