diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/math/boundings.php | 2 | ||||
-rw-r--r-- | src/structs/context.php | 2 | ||||
-rw-r--r-- | src/structs/step.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/math/boundings.php b/src/math/boundings.php index b6dd5f0..b5286c7 100644 --- a/src/math/boundings.php +++ b/src/math/boundings.php @@ -57,7 +57,7 @@ class ezcGraphBoundings * @param float $y1 Bottom right y coordinate * @return ezcGraphBoundings */ - public function __construct( $x0 = 0., $y0 = 0., $x1 = false, $y1 = false ) + public function __construct( $x0 = 0., $y0 = 0., $x1 = null, $y1 = null ) { $this->x0 = $x0; $this->y0 = $y0; 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; |