Codesniffer compliant: if, for and while

This commit is contained in:
paolo
2016-05-20 13:04:25 +02:00
parent cd10d96c91
commit 6b1968ae5b
305 changed files with 1389 additions and 1389 deletions
@@ -12,7 +12,7 @@
*/
// ------------------------------------------------------------------------
if(!defined('BASEPATH')) exit('No direct script access allowed');
if (!defined('BASEPATH')) exit('No direct script access allowed');
class Nation extends APIv1_Controller
{
@@ -30,7 +30,7 @@ class Nation extends APIv1_Controller
public function getAll()
{
if(!$this->get('orderEnglish'))
if (!$this->get('orderEnglish'))
{
$result = $this->NationModel->addOrder('kurztext');
}
@@ -39,9 +39,9 @@ class Nation extends APIv1_Controller
$result = $this->NationModel->addOrder('engltext');
}
if($result->error == EXIT_SUCCESS)
if ($result->error == EXIT_SUCCESS)
{
if($this->get('ohnesperre'))
if ($this->get('ohnesperre'))
{
$result = $this->NationModel->loadWhere('sperre IS NULL');
}