#451 PHPStan level 5

This commit is contained in:
Roland Gruber 2025-09-08 21:52:42 +02:00
parent 011d148e33
commit cf44f29d5f

View file

@ -1870,7 +1870,7 @@ class LAMConfig {
* Returns an array of all selected account modules * Returns an array of all selected account modules
* *
* @param string $scope account type * @param string $scope account type
* @return array user modules * @return class-string<baseModule>[] user modules
*/ */
public function get_AccountModules($scope) { public function get_AccountModules($scope) {
if (isset($this->typeSettings["modules_" . $scope])) { if (isset($this->typeSettings["modules_" . $scope])) {
@ -2322,7 +2322,7 @@ class LAMConfig {
/** /**
* Returns the port. * Returns the port.
* *
* @return String port * @return int|null port
*/ */
public function getJobsDBPort() { public function getJobsDBPort() {
return $this->jobsDBPort; return $this->jobsDBPort;
@ -2331,7 +2331,7 @@ class LAMConfig {
/** /**
* Sets the port. * Sets the port.
* *
* @param int $jobsDBPort port * @param int|null $jobsDBPort port
*/ */
public function setJobsDBPort($jobsDBPort) { public function setJobsDBPort($jobsDBPort) {
$this->jobsDBPort = $jobsDBPort; $this->jobsDBPort = $jobsDBPort;