From c1b1fe95a6cce5e53a1454c46ae3500e53fadae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Ostroluck=C3=BD?= Date: Sat, 7 Nov 2020 17:28:11 +0100 Subject: [PATCH] Add missing typehint to explainOraclePlatform Fixes build --- Controller/ProfilerController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Controller/ProfilerController.php b/Controller/ProfilerController.php index 6b22c3dbf..6691db2b3 100644 --- a/Controller/ProfilerController.php +++ b/Controller/ProfilerController.php @@ -136,8 +136,10 @@ private function explainOtherPlatform(Connection $connection, string $query): ar /** * @param mixed[] $query + * + * @return mixed[] */ - private function explainOraclePlatform(Connection $connection, array $query) + private function explainOraclePlatform(Connection $connection, array $query): array { $connection->executeQuery('EXPLAIN PLAN FOR ' . $query['sql']);