Skip to content

Commit

Permalink
Use strict equality operator and swap array() for []
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsandersen committed Nov 5, 2022
1 parent 8479ff8 commit 7a47544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct($resource) {
break;
case 'mc_versions':
if (is_null($value) || empty($value)) {
$this->supported_minecraft_versions = array();
$this->supported_minecraft_versions = [];
} else {
$versions = array_map(
function($version) {
Expand Down

0 comments on commit 7a47544

Please sign in to comment.