From a04a1d75f93fc556d9838c9d5de9216521642ede Mon Sep 17 00:00:00 2001 From: Kore Nordmann Date: Tue, 12 Jun 2007 14:56:09 +0000 Subject: - Fixed initialisations of struct variables # Detected by doc coverage --- src/structs/context.php | 2 +- src/structs/step.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/structs') 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; -- cgit v1.1