diff --git a/app/code/Magento/Store/Model/Scope/Validator.php b/app/code/Magento/Store/Model/Scope/Validator.php
index 3bc91ea3c36f83ce9d272832e4b05a7f7d4fb08b..ab09c42b01c59e9d71f6e014b8d1bf7b84bd6fd2 100644
--- a/app/code/Magento/Store/Model/Scope/Validator.php
+++ b/app/code/Magento/Store/Model/Scope/Validator.php
@@ -69,6 +69,7 @@ class Validator implements ValidatorInterface
      * Throw exception if not valid.
      *
      * @param $scopeCode
+     * @return void
      * @throws LocalizedException if scope code is empty or has a wrong format
      */
     private function validateScopeCode($scopeCode)