From 7d0ff5e073c7a63c537f6f7cb1ac708f8c23e912 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 1 Dec 2013 14:16:38 +0100 Subject: [PATCH] Formatting OCD Please refer to CONTRIBUTING.md --- src/API/LevelAPI.php | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/src/API/LevelAPI.php b/src/API/LevelAPI.php index 7fb2afccc..75e0dd2cd 100644 --- a/src/API/LevelAPI.php +++ b/src/API/LevelAPI.php @@ -2,11 +2,11 @@ /** * - * ____ _ _ __ __ _ __ __ ____ - * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ + * ____ _ _ __ __ _ __ __ ____ + * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ - * |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_| + * |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_| * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by @@ -33,17 +33,13 @@ class LevelAPI{ return false; } - public function isLoaded($name) - { - if(isset($this->levels[$name])) - { - return true; - } - else - { - return false; - } - } + public function isLoaded($name){ + if(isset($this->levels[$name])){ + return true; + }else{ + return false; + } + } public function getDefault(){ return $this->levels[$this->default];