Skip to content

Commit

Permalink
Expand variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Mar 1, 2023
1 parent 8f0c53b commit d492eb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/Core/Site/QueryType/Location/Children.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
),
);

Expand Down
4 changes: 2 additions & 2 deletions lib/Core/Site/QueryType/Location/Siblings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
),
);

Expand Down

0 comments on commit d492eb6

Please sign in to comment.