mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-11-18 21:35:12 +00:00
WEB: Fix PHP array key warnings
This commit is contained in:
1 parent
7f9989a419
commit
ef20da2ede
12 files changed
+32
-30
No files matched your search
@@ -12,8 +12,8 @@ abstract class BasicObject
|
||||
|
||||
public function __construct($data)
|
||||
{
|
||||
$this->description = $data['description'];
|
||||
$this->name = $data['name'];
|
||||
$this->description = $data['description'] ?? null;
|
||||
$this->name = $data['name'] ?? null;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
|
||||
Reference in new issue
Block a user