@@ -29,7 +29,7 @@ class ReportController extends Controller
2929 /** @var Report */
3030 protected $ report ;
3131
32- public function init ()
32+ public function init (): void
3333 {
3434 $ reportId = $ this ->params ->getRequired ('id ' );
3535
@@ -46,7 +46,7 @@ public function init()
4646 $ this ->report = Report::fromModel ($ report );
4747 }
4848
49- public function indexAction ()
49+ public function indexAction (): void
5050 {
5151 $ this ->addTitleTab ($ this ->report ->getName ());
5252
@@ -89,7 +89,7 @@ public function contentAction(): void
8989 }
9090 }
9191
92- public function cloneAction ()
92+ public function cloneAction (): void
9393 {
9494 $ this ->assertPermission ('reporting/reports ' );
9595 $ this ->addTitleTab ($ this ->translate ('Clone Report ' ));
@@ -128,7 +128,7 @@ public function cloneAction()
128128 $ this ->addContent ($ form );
129129 }
130130
131- public function editAction ()
131+ public function editAction (): void
132132 {
133133 $ this ->assertPermission ('reporting/reports ' );
134134 $ this ->addTitleTab ($ this ->translate ('Edit Report ' ));
@@ -170,7 +170,7 @@ public function editAction()
170170 $ this ->addContent ($ form );
171171 }
172172
173- public function sendAction ()
173+ public function sendAction (): void
174174 {
175175 $ this ->addTitleTab ($ this ->translate ('Send Report ' ));
176176
@@ -190,7 +190,7 @@ public function sendAction()
190190 $ this ->addContent ($ form );
191191 }
192192
193- public function scheduleAction ()
193+ public function scheduleAction (): void
194194 {
195195 $ this ->assertPermission ('reporting/schedules ' );
196196 $ this ->addTitleTab ($ this ->translate ('Schedule ' ));
@@ -227,7 +227,7 @@ public function scheduleAction()
227227 }
228228 }
229229
230- public function downloadAction ()
230+ public function downloadAction (): void
231231 {
232232 $ type = $ this ->params ->getRequired ('type ' );
233233
@@ -274,7 +274,7 @@ public function downloadAction()
274274 }
275275 }
276276
277- protected function assembleActions ()
277+ protected function assembleActions (): ActionBar
278278 {
279279 $ reportId = $ this ->report ->getId ();
280280
0 commit comments