diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-06-12 14:56:09 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-06-12 14:56:09 +0000 |
commit | a04a1d75f93fc556d9838c9d5de9216521642ede (patch) | |
tree | dd8f96fbb08b905ad7cf588e0a9aedf1e8e908b1 /src/structs | |
parent | b33909275f604b119c59972779a47a4288e0f5ec (diff) | |
download | zetacomponents-graph-a04a1d75f93fc556d9838c9d5de9216521642ede.zip zetacomponents-graph-a04a1d75f93fc556d9838c9d5de9216521642ede.tar.gz |
- Fixed initialisations of struct variables
# Detected by doc coverage
Diffstat (limited to 'src/structs')
-rw-r--r-- | src/structs/context.php | 2 | ||||
-rw-r--r-- | src/structs/step.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/structs/context.php b/src/structs/context.php index 1110bad..6e0a070 100644 --- a/src/structs/context.php +++ b/src/structs/context.php @@ -45,7 +45,7 @@ class ezcGraphContext extends ezcBaseStruct * @return void * @ignore */ - public function __construct( $dataset = false, $datapoint = false, $url = null ) + public function __construct( $dataset = null, $datapoint = null, $url = null ) { $this->dataset = $dataset; $this->datapoint = $datapoint; diff --git a/src/structs/step.php b/src/structs/step.php index faedbc7..9f6977e 100644 --- a/src/structs/step.php +++ b/src/structs/step.php @@ -68,7 +68,7 @@ class ezcGraphAxisStep * @param bool $isLast * @ignore */ - public function __construct( $position = .0, $width = .0, $label = false, array $childs = array(), $isZero = false, $isLast = false ) + public function __construct( $position = .0, $width = .0, $label = null, array $childs = array(), $isZero = false, $isLast = false ) { $this->position = (float) $position; $this->width = (float) $width; |