Skip to content

Commit 7a47544

Browse files
Use strict equality operator and swap array() for []
1 parent 8479ff8 commit 7a47544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/object/Resource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct($resource) {
3636
break;
3737
case 'mc_versions':
3838
if (is_null($value) || empty($value)) {
39-
$this->supported_minecraft_versions = array();
39+
$this->supported_minecraft_versions = [];
4040
} else {
4141
$versions = array_map(
4242
function($version) {

0 commit comments

Comments
 (0)