* rename report * * @param int $reportId * @param string $name * @return bool */
(int $reportId, string $name)
| 738 | * @return bool |
| 739 | */ |
| 740 | public function rename(int $reportId, string $name) { |
| 741 | if ($this->isOwn($reportId)) { |
| 742 | return $this->ReportMapper->updateName($reportId, $name); |
| 743 | } |
| 744 | return false; |
| 745 | } |
| 746 | |
| 747 | /** |
| 748 | * search for reports |
no test coverage detected