mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-11-18 21:35:12 +00:00
WEB: Lint and static analysis cleanup
This commit is contained in:
1 parent
6816cdab5a
commit
08ea2cfcde
22 files changed
+86
-1467
No files matched your search
@@ -40,7 +40,7 @@ abstract class DataObject
|
||||
{
|
||||
if ($required) {
|
||||
if ($key === '') {
|
||||
throw new \ErrorException(\sprintf(self::NO_KEY, $key, \get_class($this)));
|
||||
throw new \ErrorException(self::NO_KEY);
|
||||
}
|
||||
|
||||
if (!isset($array[$key]) || $array[$key] === '') {
|
||||
@@ -49,4 +49,4 @@ abstract class DataObject
|
||||
}
|
||||
return $array[$key];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user