Corrige le linting sur la branche add_race_to_defense #9
@ -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 =
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user