1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +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)
{
$error = "";
switch ($code)
{
switch ($code) {
case 404:
$error = "Not Found";
break;

View file

@ -1107,7 +1107,8 @@ class Song extends database_object implements media
'command' => $cmd . ' ' . $args);
}
public function get_lyrics() {
public function get_lyrics()
{
if ($this->lyrics) {
return array('text' => $this->lyrics);
}