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