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)
|
private function getAudioResponse(Request $request, Response $response, array $params, $password = null)
|
||||||
{
|
{
|
||||||
try {
|
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.');
|
throw new Exception('Force convert when we need to seek.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue