From 84eba85074891bfa6a718ae413a1d87ced4f28ca Mon Sep 17 00:00:00 2001 From: mattab Date: Tue, 8 Oct 2013 18:31:49 +1300 Subject: Applying phpstorm code style PSR refs #3771 --- plugins/DevicesDetection/functions.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'plugins/DevicesDetection/functions.php') diff --git a/plugins/DevicesDetection/functions.php b/plugins/DevicesDetection/functions.php index 92a4b3e84e..56be9c7a0e 100644 --- a/plugins/DevicesDetection/functions.php +++ b/plugins/DevicesDetection/functions.php @@ -85,12 +85,12 @@ function getDeviceTypeLabel($label) function getDeviceTypeLogo($label) { $deviceTypeLogos = Array( - "Desktop" => "normal.gif", - "Smartphone" => "smartphone.png", - "Tablet" => "tablet.png", - "Tv" => "tv.png", + "Desktop" => "normal.gif", + "Smartphone" => "smartphone.png", + "Tablet" => "tablet.png", + "Tv" => "tv.png", "Feature phone" => "mobile.gif", - "Console" => "console.gif"); + "Console" => "console.gif"); if (!array_key_exists($label, $deviceTypeLogos) || $label == "Unknown") { $label = 'unknown.gif'; @@ -135,7 +135,7 @@ function getOsFullNameExtended($label) $os = substr($label, 0, 3); $ver = substr($label, 4, 15); $name = UserAgentParserEnhanced::getOsNameFromId($os, $ver); - if(!empty($name)) { + if (!empty($name)) { return $name; } } @@ -143,7 +143,6 @@ function getOsFullNameExtended($label) } - function getOsLogoExtended($label) { $short = substr($label, 0, 3); -- cgit v1.2.3