Corrige le linting sur la branche add_race_to_defense
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Nigel Sheldon 2020-11-27 12:19:05 +01:00
parent af1eb71738
commit 991021b662
2 changed files with 6 additions and 6 deletions

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(