diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-05-15 08:39:19 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-05-15 08:39:19 +0000 |
commit | 07458ea6708f0a4d9a70a6d2433104b7950cdf51 (patch) | |
tree | afd7b4ed17351cecf403ab503fd11ebcf803fc7f /src/datasets | |
parent | 9b1f82b08a5fb5b6cbc6f8f478dd987df9b02053 (diff) | |
download | zetacomponents-graph-07458ea6708f0a4d9a70a6d2433104b7950cdf51.zip zetacomponents-graph-07458ea6708f0a4d9a70a6d2433104b7950cdf51.tar.gz |
- Fixed coding standard issues
Diffstat (limited to 'src/datasets')
-rw-r--r-- | src/datasets/base.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/datasets/base.php b/src/datasets/base.php index c643855..e9fccd7 100644 --- a/src/datasets/base.php +++ b/src/datasets/base.php @@ -54,13 +54,13 @@ class ezcGraphDataset implements ArrayAccess { case 'label': $this->label->default = $propertyValue; - break; + break; case 'color': $this->color->default = $propertyValue; - break; + break; case 'symbol': $this->symbol->default = $propertyValue; - break; + break; } } @@ -68,7 +68,9 @@ class ezcGraphDataset implements ArrayAccess { if ( isset( $this->$propertyName ) ) { return $this->$propertyName; - } else { + } + else + { throw new ezcBasePropertyNotFoundException( $propertyName ); } } |