summaryrefslogtreecommitdiffstats
path: root/lib/Service/Service.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/Service.php')
-rw-r--r--lib/Service/Service.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Service/Service.php b/lib/Service/Service.php
index 28cfeeb76..ac9b6e1a3 100644
--- a/lib/Service/Service.php
+++ b/lib/Service/Service.php
@@ -18,7 +18,6 @@ use \OCP\AppFramework\Db\MultipleObjectsReturnedException;
use \OCA\News\Db\NewsMapper;
-
abstract class Service
{
@@ -58,11 +57,10 @@ abstract class Service
{
try {
return $this->mapper->find($id, $userId);
- } catch(DoesNotExistException $ex){
+ } catch (DoesNotExistException $ex) {
throw new ServiceNotFoundException($ex->getMessage());
- } catch(MultipleObjectsReturnedException $ex){
+ } catch (MultipleObjectsReturnedException $ex) {
throw new ServiceNotFoundException($ex->getMessage());
}
}
-
}