diff options
author | Vitor Mattos <vitor@php.rio> | 2023-01-04 16:08:32 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2023-01-04 16:09:17 -0300 |
commit | c08f92ead569d8dc380fb5bf560ef08b04722953 (patch) | |
tree | 10bd17db4cc38782585624c2d1822a2db1a988fb /lib/Controller/RecordingController.php | |
parent | d96fb4431b1d556f8027788ce3c0ad4cf8125cc0 (diff) |
Remove redundant "recording" at name of methods
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Controller/RecordingController.php')
-rw-r--r-- | lib/Controller/RecordingController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Controller/RecordingController.php b/lib/Controller/RecordingController.php index 20cf685e1..b91370639 100644 --- a/lib/Controller/RecordingController.php +++ b/lib/Controller/RecordingController.php @@ -55,9 +55,9 @@ class RecordingController extends AEnvironmentAwareController { * @PublicPage * @RequireModeratorParticipant */ - public function startRecording(int $status): DataResponse { + public function start(int $status): DataResponse { try { - $this->recordingService->startRecording($this->room, $status); + $this->recordingService->start($this->room, $status); } catch (InvalidArgumentException $e) { return new DataResponse(['error' => $e->getMessage()], Http::STATUS_BAD_REQUEST); } @@ -68,9 +68,9 @@ class RecordingController extends AEnvironmentAwareController { * @PublicPage * @RequireModeratorParticipant */ - public function stopRecording(): DataResponse { + public function stop(): DataResponse { try { - $this->recordingService->stopRecording($this->room); + $this->recordingService->stop($this->room); } catch (InvalidArgumentException $e) { return new DataResponse(['error' => $e->getMessage()], Http::STATUS_BAD_REQUEST); } |