diff --git a/system/CodeIgniter.php b/system/CodeIgniter.php index a291809938e5..6fef8cbb6362 100644 --- a/system/CodeIgniter.php +++ b/system/CodeIgniter.php @@ -775,6 +775,8 @@ public function cachePage(Cache $config) /** * Returns an array with our basic performance stats collected. + * + * @return array{startTime: float|null, totalTime: float} */ public function getPerformanceStats(): array { diff --git a/utils/phpstan-baseline/missingType.iterableValue.neon b/utils/phpstan-baseline/missingType.iterableValue.neon index d9527fa8fee7..dd6c35e453d0 100644 --- a/utils/phpstan-baseline/missingType.iterableValue.neon +++ b/utils/phpstan-baseline/missingType.iterableValue.neon @@ -1,12 +1,7 @@ -# total 1132 errors +# total 1131 errors parameters: ignoreErrors: - - - message: '#^Method CodeIgniter\\CodeIgniter\:\:getPerformanceStats\(\) return type has no value type specified in iterable type array\.$#' - count: 1 - path: ../../system/CodeIgniter.php - - message: '#^Method CodeIgniter\\Commands\\ListCommands\:\:listFull\(\) has parameter \$commands with no value type specified in iterable type array\.$#' count: 1