From ac7df5d8551cbacf60f9adc770783a710737fa90 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Wed, 11 Jan 2012 15:59:04 +0100 Subject: fix stupid checkstyle bugs .. once again.. --- application/models/PoolMapper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/models/PoolMapper.php') diff --git a/application/models/PoolMapper.php b/application/models/PoolMapper.php index dbc1ae4..b42dc88 100644 --- a/application/models/PoolMapper.php +++ b/application/models/PoolMapper.php @@ -70,7 +70,7 @@ class Application_Model_PoolMapper { } public function getDbTable() { - if (null == = $this->_dbTable) { + if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_Pool'); } @@ -85,7 +85,7 @@ class Application_Model_PoolMapper { 'description' => $pol->getDescription() , 'location' => $pol->getLocation() ); - if (null == = ($id = $pol->getID()) ) { + if (null === ($id = $pol->getID()) ) { unset($data['poolID']); $this->getDbTable()->insert($data); } else { @@ -94,7 +94,7 @@ class Application_Model_PoolMapper { } public function delete(Application_Model_Pool $pol) { - if (null == = ($id = $pol->getID()) ) { + if (null === ($id = $pol->getID()) ) { return; } else { $this->getDbTable()->delete(array('poolID = ?' => $id)); -- cgit v1.2.3-55-g7522