From d492eb671321ffcea50b8d2738f52505040c748c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20=C5=A0panja?= Date: Wed, 1 Mar 2023 12:42:28 +0100 Subject: [PATCH] Expand variable names --- lib/Core/Site/QueryType/Location/Children.php | 4 ++-- lib/Core/Site/QueryType/Location/Siblings.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Core/Site/QueryType/Location/Children.php b/lib/Core/Site/QueryType/Location/Children.php index 465685bd..8eda2139 100644 --- a/lib/Core/Site/QueryType/Location/Children.php +++ b/lib/Core/Site/QueryType/Location/Children.php @@ -50,11 +50,11 @@ function (Options $options): array { try { return $location->getSortClauses(); - } catch (NotImplementedException $e) { + } catch (NotImplementedException $exception) { $this->logger->notice( sprintf( 'Cannot use sort clauses from parent location: %s', - $e->getMessage(), + $exception->getMessage(), ), ); diff --git a/lib/Core/Site/QueryType/Location/Siblings.php b/lib/Core/Site/QueryType/Location/Siblings.php index 88f55205..2f0afa86 100644 --- a/lib/Core/Site/QueryType/Location/Siblings.php +++ b/lib/Core/Site/QueryType/Location/Siblings.php @@ -51,11 +51,11 @@ function (Options $options): array { try { return $location->parent->getSortClauses(); - } catch (NotImplementedException $e) { + } catch (NotImplementedException $exception) { $this->logger->notice( sprintf( 'Cannot use sort clauses from parent location: %s', - $e->getMessage(), + $exception->getMessage(), ), );