diff --git a/src/MDLicensesSet.php b/src/MDLicensesSet.php index 2617ee2..c4021b0 100644 --- a/src/MDLicensesSet.php +++ b/src/MDLicensesSet.php @@ -39,7 +39,9 @@ final class MDLicensesSet extends MDValueSet { * @return string|boolean */ final public static function checkLicenseAvailable(string $license) { - if (isset(self::AVAILABLE_LICENSES[$license])) return self::AVAILABLE_LICENSES[$license]; + if (isset(self::AVAILABLE_LICENSES[$license])) { + return self::AVAILABLE_LICENSES[$license]; + } return false; } diff --git a/src/MDValueSet.php b/src/MDValueSet.php index d8f666a..914fcc7 100644 --- a/src/MDValueSet.php +++ b/src/MDValueSet.php @@ -24,8 +24,12 @@ class MDValueSet { $output = []; foreach ($keyList as $tID) { - if ($tID === "") $output[$tID] = ""; - else $output[$tID] = $tlLoader->tl($tlFileName, $tlVarName, $tID); + if ($tID === "") { + $output[$tID] = ""; + } + else { + $output[$tID] = $tlLoader->tl($tlFileName, $tlVarName, $tID); + } } return $output;