From 2011a21e6f24e7485e03ab40ceccbd3d24fe9638 Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Sat, 1 Nov 2014 12:03:38 +1100 Subject: [PATCH] Minor --- modules/backend/widgets/Lists.php | 6 +++--- modules/system/classes/ErrorHandler.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/backend/widgets/Lists.php b/modules/backend/widgets/Lists.php index 809c615f1..2f7e2e465 100644 --- a/modules/backend/widgets/Lists.php +++ b/modules/backend/widgets/Lists.php @@ -977,10 +977,10 @@ class Lists extends WidgetBase $this->sortColumn = $sortOptions['column']; $this->sortDirection = $sortOptions['direction']; } - /* - * Supplied default - */ else { + /* + * Supplied default + */ if (is_string($this->defaultSort)) { $this->sortColumn = $this->defaultSort; $this->sortDirection = 'desc'; diff --git a/modules/system/classes/ErrorHandler.php b/modules/system/classes/ErrorHandler.php index b97289872..b9bf298e0 100644 --- a/modules/system/classes/ErrorHandler.php +++ b/modules/system/classes/ErrorHandler.php @@ -62,13 +62,13 @@ class ErrorHandler // If the exception is already our brand, use it. if ($proposedException instanceof BaseException) { $exception = $proposedException; - // If there is an active mask prepared, use that. } + // If there is an active mask prepared, use that. elseif (static::$activeMask !== null) { $exception = static::$activeMask; $exception->setMask($proposedException); - // Otherwise we should mask it with our own default scent. } + // Otherwise we should mask it with our own default scent. else { $exception = new ApplicationException($proposedException->getMessage(), 0); $exception->setMask($proposedException);