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,10 +586,10 @@ 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) {
$race = $planete->race;
if ($race == null) {
$race = $planete->race;
}
if ($race == "humain") {
$neededSpatial =

View File

@ -621,10 +621,10 @@ 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) {
$race = $planete->race;
if ($race == null) {
$race = $planete->race;
}
if ($race == "humain") {
$neededTerrestre = array(