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 Contentsprache extends APIv1_Controller
{
@@ -35,7 +35,7 @@ class Contentsprache extends APIv1_Controller
{
$contentspracheID = $this->get('contentsprache_id');
if(isset($contentspracheID))
if (isset($contentspracheID))
{
$result = $this->ContentspracheModel->load($contentspracheID);
@@ -52,9 +52,9 @@ class Contentsprache extends APIv1_Controller
*/
public function postContentsprache()
{
if($this->_validate($this->post()))
if ($this->_validate($this->post()))
{
if(isset($this->post()['contentsprache_id']))
if (isset($this->post()['contentsprache_id']))
{
$result = $this->ContentspracheModel->update($this->post()['contentsprache_id'], $this->post());
}