style: Clarify long conditions
This commit is contained in:
parent
5835bd67a5
commit
80b44af772
1 changed files with 3 additions and 1 deletions
|
@ -263,7 +263,9 @@ class FrontController
|
|||
private function getAudioResponse(Request $request, Response $response, array $params, $password = null)
|
||||
{
|
||||
try {
|
||||
if (isset($params['from']) && !empty($params['from']) || isset($params['to']) && !empty($params['to'])) {
|
||||
if ((isset($params['from']) && !empty($params['from']))
|
||||
|| (isset($params['to']) && !empty($params['to']))
|
||||
) {
|
||||
throw new Exception('Force convert when we need to seek.');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue