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);