diff options
| author | Sebastian Schmelzer | 2012-01-11 15:59:04 +0100 |
|---|---|---|
| committer | Sebastian Schmelzer | 2012-01-11 15:59:04 +0100 |
| commit | ac7df5d8551cbacf60f9adc770783a710737fa90 (patch) | |
| tree | 6d4823587c44e1e5551a191e6a86547b41a52320 /application/models/Config.php | |
| parent | fix stylecode output (diff) | |
| download | pbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.tar.gz pbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.tar.xz pbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.zip | |
fix stupid checkstyle bugs .. once again..
Diffstat (limited to 'application/models/Config.php')
| -rw-r--r-- | application/models/Config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/models/Config.php b/application/models/Config.php index 7211b9d..4f1ff6c 100644 --- a/application/models/Config.php +++ b/application/models/Config.php @@ -123,7 +123,7 @@ class Application_Model_Config { $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(); @@ -131,7 +131,7 @@ class Application_Model_Config { $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)) { |
