refactor: rename audio_file urls to audio urls

This commit is contained in:
Yassine Doghri 2022-01-21 08:52:28 +00:00
commit c1581c1fd4
11 changed files with 27 additions and 37 deletions

View file

@ -28,12 +28,12 @@ class Analytics extends BaseConfig
/**
* get the full audio file url
*
* @param string|string[] $audioFilePath
* @param string|string[] $audioPath
*/
public function getAudioFileUrl(string | array $audioFilePath): string
public function getAudioUrl(string | array $audioPath): string
{
helper('media');
return media_base_url($audioFilePath);
return media_base_url($audioPath);
}
}