Corrige le linting sur la branche add_race_to_defense

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,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") {