Skip to content

Commit 56e4cd1

Browse files
committed
Minor improvements
1 parent f561dd4 commit 56e4cd1

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Model/Section.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,8 @@ final public function validate($data)
132132

133133
$result = $this->validateIDK($id, $k);
134134
if (!$result) {
135-
$bId = 'B' . 'l' . 'o' . 'g';
136-
if ($id == $bId) {
137-
$id = $bId . 'Plus';
138-
$result = $this->validateIDK($id, $k);
139-
}
135+
$id .= 'Plus';
136+
$result = $this->validateIDK($id, $k);
140137
}
141138

142139
return $result;

Model/UrlChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class UrlChecker
1414
/**
1515
* @return bool
1616
*/
17-
public static function showUrl($url)
17+
final public static function showUrl($url)
1818
{
1919
$url = (string)$url;
2020
$info = parse_url($url);

0 commit comments

Comments
 (0)