mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-04 10:19:25 +02:00
Fix code style
This commit is contained in:
parent
3eea65ad1d
commit
3d13df9e0c
9 changed files with 89 additions and 89 deletions
|
@ -71,8 +71,7 @@ class Plex_Api
|
||||||
public static function createError($code)
|
public static function createError($code)
|
||||||
{
|
{
|
||||||
$error = "";
|
$error = "";
|
||||||
switch ($code)
|
switch ($code) {
|
||||||
{
|
|
||||||
case 404:
|
case 404:
|
||||||
$error = "Not Found";
|
$error = "Not Found";
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1107,7 +1107,8 @@ class Song extends database_object implements media
|
||||||
'command' => $cmd . ' ' . $args);
|
'command' => $cmd . ' ' . $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_lyrics() {
|
public function get_lyrics()
|
||||||
|
{
|
||||||
if ($this->lyrics) {
|
if ($this->lyrics) {
|
||||||
return array('text' => $this->lyrics);
|
return array('text' => $this->lyrics);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue