1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 10:19:25 +02:00

Fix code style

This commit is contained in:
Afterster 2013-11-25 01:56:46 +01:00
parent 3eea65ad1d
commit 3d13df9e0c
9 changed files with 89 additions and 89 deletions

View file

@ -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;

View file

@ -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);
} }