* check if own report * * @param int $panoramaId * @return bool */
(int $panoramaId)
| 142 | * @return bool |
| 143 | */ |
| 144 | public function isOwn(int $panoramaId) { |
| 145 | $ownReport = $this->PanoramaMapper->readOwn($panoramaId); |
| 146 | if (!empty($ownReport)) { |
| 147 | return true; |
| 148 | } else { |
| 149 | return false; |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | /** |
| 154 | * create new blank report |
no test coverage detected