diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-01-13 09:51:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 09:51:04 +0100 |
commit | 89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9 (patch) | |
tree | 76e56e0afc214eb0d9542b22e382c22fd77ae4b9 /lib/private/AppFramework/Http/Dispatcher.php | |
parent | 7d5a63ab216347e412dc285667026eb66715cbf9 (diff) | |
parent | 6312c0df6949955d1cd59c3dd444268e0773293c (diff) | |
download | nextcloud-server-89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9.tar.gz nextcloud-server-89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9.zip |
Merge pull request #30508 from nextcloud/fix/psaml-bin
Fix psalm not running
Diffstat (limited to 'lib/private/AppFramework/Http/Dispatcher.php')
-rw-r--r-- | lib/private/AppFramework/Http/Dispatcher.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/AppFramework/Http/Dispatcher.php b/lib/private/AppFramework/Http/Dispatcher.php index 6bbab42cb79..0f12dbda629 100644 --- a/lib/private/AppFramework/Http/Dispatcher.php +++ b/lib/private/AppFramework/Http/Dispatcher.php @@ -131,7 +131,7 @@ class Dispatcher { $numExecuted = $databaseStatsAfter['executed'] - $databaseStatsBefore['executed']; if ($numBuilt > 50) { - $this->logger->debug('Controller {class}::{method} created {count} QueryBuilder objects, please check if they are created inside a loop by accident.' , [ + $this->logger->debug('Controller {class}::{method} created {count} QueryBuilder objects, please check if they are created inside a loop by accident.', [ 'class' => get_class($controller), 'method' => $methodName, 'count' => $numBuilt, @@ -139,7 +139,7 @@ class Dispatcher { } if ($numExecuted > 100) { - $this->logger->warning('Controller {class}::{method} executed {count} queries.' , [ + $this->logger->warning('Controller {class}::{method} executed {count} queries.', [ 'class' => get_class($controller), 'method' => $methodName, 'count' => $numExecuted, |