Changing System::match() to not include NC, some debugging updates

This commit is contained in:
2023-09-19 10:21:17 +10:00
parent 5e67be5ba1
commit 3a35bce9e7
3 changed files with 5 additions and 5 deletions

View File

@@ -211,7 +211,7 @@ class System extends Model
* @return Collection
* @todo This doesnt return sorted addresses, so it is possible that a node address is returned first, before a NC/HC, etc
*/
public function match(Zone $o,int $type=(Address::NODE_NC|Address::NODE_HC|Address::NODE_ACTIVE|Address::NODE_PVT|Address::NODE_POINT)): Collection
public function match(Zone $o,int $type=(Address::NODE_HC|Address::NODE_ACTIVE|Address::NODE_PVT|Address::NODE_POINT)): Collection
{
return $this->akas
->where(function($item) use($o) {