@@ -85,7 +85,7 @@ |
||
85 | 85 | * @param ObjectInterface|EzPlatformObject $object |
86 | 86 | * @param bool $throwException |
87 | 87 | * |
88 | - * @return ContentType|false |
|
88 | + * @return ContentType |
|
89 | 89 | * |
90 | 90 | * @throws NotFoundException |
91 | 91 | */ |
@@ -109,7 +109,7 @@ |
||
109 | 109 | * @param int $id |
110 | 110 | * @param bool $throwException |
111 | 111 | * |
112 | - * @return Location|false |
|
112 | + * @return Location |
|
113 | 113 | */ |
114 | 114 | public function findById($id, $throwException = false) |
115 | 115 | { |
@@ -170,7 +170,7 @@ |
||
170 | 170 | } catch (NotFoundException $e) { |
171 | 171 | return true; |
172 | 172 | } catch (InvalidArgumentException $ee) { |
173 | - if($this->logger) { |
|
173 | + if ($this->logger) { |
|
174 | 174 | $this->logger->warning('Tried to delete the main language, or a language that still has existing translations (is in use).'); |
175 | 175 | } |
176 | 176 | return false; |