* check if own report * * @param int $reportId * @return bool */
(int $reportId)
| 188 | * @return bool |
| 189 | */ |
| 190 | public function isOwn(int $reportId) { |
| 191 | $ownReport = $this->ReportMapper->readOwn($reportId); |
| 192 | if (!empty($ownReport)) { |
| 193 | return true; |
| 194 | } else { |
| 195 | return false; |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * create new blank report |
no test coverage detected