diff --git a/src/StandStatus.php b/src/StandStatus.php index 170918c..a347c16 100644 --- a/src/StandStatus.php +++ b/src/StandStatus.php @@ -166,7 +166,7 @@ function getAircraftWithinParameters() } - $filteredResults = ; + $filteredResults = []; foreach ($pilots as $pilot) { if (($this->getCoordDistance($pilot['latitude'], $pilot['longitude'], $this->airportCoordinates['lat'], $this->airportCoordinates['long']) < $this->maxDistanceFromAirport)) { if (($pilot['groundspeed'] <= $this->maxAircraftGroundspeed) && ($pilot['altitude'] <= $this->maxAircraftAltitude)) { @@ -188,7 +188,7 @@ function checkIfAircraftAreOnStand() foreach ($pilots as $pilot) { // Array to hold the stands they could possibly be on - $possibleStands = ; + $possibleStands = []; // Check each stand to see how close they are foreach ($stands as $stand) { @@ -309,7 +309,7 @@ function unsetStandOccupied($standID) function standSides($standID) { - $standSides = ; + $standSides = []; $stands = $this->stands; //Find the 'base' stand number