summaryrefslogtreecommitdiffstats
path: root/src/datasets/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/datasets/base.php')
-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