* check if own report * * @param int $reportId * @return bool */
(int $reportId)
| 157 | * @return bool |
| 158 | */ |
| 159 | public function isOwn(int $reportId) { |
| 160 | $ownReport = $this->ReportMapper->readOwn($reportId); |
| 161 | if (!empty($ownReport)) { |
| 162 | return true; |
| 163 | } else { |
| 164 | return false; |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * create new blank report |
no test coverage detected