mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
Fix scrutinizer code style
This commit is contained in:
parent
1757d8c6f5
commit
fee1e70ffa
14 changed files with 37 additions and 12 deletions
|
@ -180,6 +180,7 @@ class Api
|
|||
|
||||
if ($client) {
|
||||
// Create the session
|
||||
$data = array();
|
||||
$data['username'] = $client->username;
|
||||
$data['type'] = 'api';
|
||||
$data['value'] = $timestamp;
|
||||
|
@ -654,6 +655,7 @@ class Api
|
|||
*/
|
||||
public static function search_songs($input)
|
||||
{
|
||||
$array = array();
|
||||
$array['type'] = 'song';
|
||||
$array['rule_1'] = 'anywhere';
|
||||
$array['rule_1_input'] = $input['filter'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue