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/Group.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/models/Group.php') diff --git a/application/models/Group.php b/application/models/Group.php index 6635f6a..1c89b00 100644 --- a/application/models/Group.php +++ b/application/models/Group.php @@ -82,7 +82,7 @@ class Application_Model_Group { $result = array(); foreach ($properties as $property) { $key = $property->name; - if (substr($key, 0, 1) != '_' && $this->$key != = null) { + if (substr($key, 0, 1) != '_' && $this->$key !== null) { $method = 'get' . ucfirst($key); if ($reflectionClass->hasMethod($method)) { $result[$key] = $this->$method(); @@ -90,7 +90,7 @@ class Application_Model_Group { $result[$key] = $this->$key; } } - elseif(substr($key, 0, 1) == '_' && $this->$key != = null) { + elseif(substr($key, 0, 1) == '_' && $this->$key !== null) { $key = substr($key, 1); $method = 'get' . ucfirst($key); if ($reflectionClass->hasMethod($method)) { -- cgit v1.2.3-55-g7522