summaryrefslogtreecommitdiffstats
path: root/application/models/GroupRequest.php
diff options
context:
space:
mode:
authorSebastian Schmelzer2012-01-11 15:59:04 +0100
committerSebastian Schmelzer2012-01-11 15:59:04 +0100
commitac7df5d8551cbacf60f9adc770783a710737fa90 (patch)
tree6d4823587c44e1e5551a191e6a86547b41a52320 /application/models/GroupRequest.php
parentfix stylecode output (diff)
downloadpbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.tar.gz
pbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.tar.xz
pbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.zip
fix stupid checkstyle bugs .. once again..
Diffstat (limited to 'application/models/GroupRequest.php')
-rw-r--r--application/models/GroupRequest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/models/GroupRequest.php b/application/models/GroupRequest.php
index fbf6b20..8a6abe1 100644
--- a/application/models/GroupRequest.php
+++ b/application/models/GroupRequest.php
@@ -90,7 +90,7 @@ class Application_Model_GroupRequest {
$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();
@@ -98,7 +98,7 @@ class Application_Model_GroupRequest {
$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)) {