diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-05-08 13:41:19 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-05-08 13:41:19 +0000 |
commit | 0cf687a2469cbcc2682a53634269d4da18eb1100 (patch) | |
tree | deee497b35d5eb737766a639937ca00db1eb6d83 /src/graph.php | |
parent | 0aa04bd66f938b4a7b1fdf05e356b1a68e09217c (diff) | |
download | zetacomponents-graph-0cf687a2469cbcc2682a53634269d4da18eb1100.zip zetacomponents-graph-0cf687a2469cbcc2682a53634269d4da18eb1100.tar.gz |
- Fixed codingstyle and doc block
Diffstat (limited to 'src/graph.php')
-rw-r--r-- | src/graph.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/graph.php b/src/graph.php index a33a2cb..d3c2bf9 100644 --- a/src/graph.php +++ b/src/graph.php @@ -25,9 +25,7 @@ class ezcGraph * * @param string $type Type of chart to create * @param array $options Options to create the chart with - * @static - * @throw ezcGraphUnknownChartTypeException - * @access public + * @throws ezcGraphUnknownChartTypeException * @return ezcGraphChart */ static public function create( $type, $options = array() ) @@ -37,7 +35,9 @@ class ezcGraph { $className = self::$chartTypes[$type]; return new $className( $options ); - } else { + } + else + { throw new ezcGraphUnknownChartTypeException($type); } } |