diff --git a/app/main/model/pathfinder/connectionmodel.php b/app/main/model/pathfinder/connectionmodel.php index df562fe6..aa632514 100644 --- a/app/main/model/pathfinder/connectionmodel.php +++ b/app/main/model/pathfinder/connectionmodel.php @@ -92,7 +92,7 @@ class ConnectionModel extends AbstractMapTrackingModel { * allowed connection types * @var array */ - protected static $connectionTypeWhitelist = ['wh_fresh', 'wh_reduced', 'wh_critical', 'frigate', 'preserve_mass']; + protected static $connectionTypeWhitelist = ['stargate', 'abyssal', 'wh_fresh', 'wh_reduced', 'wh_critical', 'frigate', 'preserve_mass']; /** * get connection data @@ -315,7 +315,7 @@ class ConnectionModel extends AbstractMapTrackingModel { * @return logging\LogInterface * @throws \Exception\ConfigException */ - public function newLog($action = '') : Logging\LogInterface { + public function newLog(string $action = '') : Logging\LogInterface { return $this->getMap()->newLog($action)->setTempData($this->getLogObjectData()); } diff --git a/app/main/model/pathfinder/mapmodel.php b/app/main/model/pathfinder/mapmodel.php index b3209f3a..244f2380 100644 --- a/app/main/model/pathfinder/mapmodel.php +++ b/app/main/model/pathfinder/mapmodel.php @@ -977,7 +977,7 @@ class MapModel extends AbstractMapTrackingModel { * @return logging\LogInterface * @throws ConfigException */ - public function newLog($action = '') : Logging\LogInterface{ + public function newLog(string $action = '') : Logging\LogInterface{ $logChannelData = $this->getLogChannelData(); $logObjectData = $this->getLogObjectData(); $log = (new logging\MapLog($action, $logChannelData))->setTempData($logObjectData); diff --git a/app/main/model/pathfinder/systemmodel.php b/app/main/model/pathfinder/systemmodel.php index 7fe7b072..8f0aaf16 100644 --- a/app/main/model/pathfinder/systemmodel.php +++ b/app/main/model/pathfinder/systemmodel.php @@ -538,7 +538,7 @@ class SystemModel extends AbstractMapTrackingModel { * @return logging\LogInterface * @throws \Exception\ConfigException */ - public function newLog($action = '') : Logging\LogInterface{ + public function newLog(string $action = '') : Logging\LogInterface{ return $this->getMap()->newLog($action)->setTempData($this->getLogObjectData()); } diff --git a/app/main/model/pathfinder/systemsignaturemodel.php b/app/main/model/pathfinder/systemsignaturemodel.php index f03fc12e..2147d5f1 100644 --- a/app/main/model/pathfinder/systemsignaturemodel.php +++ b/app/main/model/pathfinder/systemsignaturemodel.php @@ -173,7 +173,7 @@ class SystemSignatureModel extends AbstractMapTrackingModel { * @return logging\LogInterface * @throws \Exception\ConfigException */ - public function newLog($action = ''): Logging\LogInterface{ + public function newLog(string $action = ''): Logging\LogInterface{ return $this->getMap()->newLog($action)->setTempData($this->getLogObjectData()); }