summaryrefslogtreecommitdiffstats
path: root/src/datasets
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-05-15 08:39:19 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-05-15 08:39:19 +0000
commit07458ea6708f0a4d9a70a6d2433104b7950cdf51 (patch)
treeafd7b4ed17351cecf403ab503fd11ebcf803fc7f /src/datasets
parent9b1f82b08a5fb5b6cbc6f8f478dd987df9b02053 (diff)
downloadzetacomponents-graph-07458ea6708f0a4d9a70a6d2433104b7950cdf51.zip
zetacomponents-graph-07458ea6708f0a4d9a70a6d2433104b7950cdf51.tar.gz
- Fixed coding standard issues
Diffstat (limited to 'src/datasets')
-rw-r--r--src/datasets/base.php10
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 );
}
}
OpenPOWER on IntegriCloud