forked from halo-battle/game
Corrige le linting sur la branche add_race_to_defense
This commit is contained in:
parent
af1eb71738
commit
991021b662
@ -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