Corrige le linting sur la branche add_race_to_defense #9

Merged
nemunaire merged 1 commits from add_race_to_defense_fixlint into master 2020-11-27 11:24:38 +00:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 991021b662 - Show all commits

View File

@ -586,9 +586,9 @@ class dSpatial implements Donnees
public static function needed($id, surface $planete, $print = false, $race = NULL)
public static function needed($id, surface $planete, $print = false, $race = null)
{
if ($race == NULL) {
if ($race == null) {
$race = $planete->race;
}
if ($race == "humain") {

View File

@ -621,9 +621,9 @@ class dTerrestre implements Donnees
}
public static function needed($id, surface $planete, $print = false, $race = NULL)
public static function needed($id, surface $planete, $print = false, $race = null)
{
if ($race == NULL) {
if ($race == null) {
$race = $planete->race;
}
if ($race == "humain") {