From 026a3d786abff51a6085e1aa5cfa7c2545d0fc22 Mon Sep 17 00:00:00 2001 From: Robin Krahnen Date: Tue, 3 Apr 2018 10:23:53 +0200 Subject: [PATCH] just some code and annotation cleanup --- Classes/Service/Exception.php | 3 --- Classes/Service/SequenceGenerator.php | 8 ++------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Classes/Service/Exception.php b/Classes/Service/Exception.php index 0a46197..4d1cd00 100644 --- a/Classes/Service/Exception.php +++ b/Classes/Service/Exception.php @@ -1,12 +1,9 @@ getPrevious() && $e->getPrevious() instanceof \PDOException) { // Do nothing, new Doctrine handling hides the above error - } - else { + } else { $this->systemLogger->logException($e); } } catch (\Exception $e) { @@ -126,9 +123,8 @@ class SequenceGenerator /** * @param string|object $stringOrObject * - * @throws Exception - * * @return string + * @throws Exception */ protected function inferTypeFromSource($stringOrObject) {