summaryrefslogtreecommitdiffstats
path: root/src/structs
diff options
context:
space:
mode:
Diffstat (limited to 'src/structs')
-rw-r--r--src/structs/context.php2
-rw-r--r--src/structs/step.php2
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;
OpenPOWER on IntegriCloud