summaryrefslogtreecommitdiffstats
path: root/src/math/translation.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/translation.php')
-rw-r--r--src/math/translation.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/math/translation.php b/src/math/translation.php
index 8c2b5a6..aaf021b 100644
--- a/src/math/translation.php
+++ b/src/math/translation.php
@@ -17,7 +17,15 @@
*/
class ezcGraphTranslation extends ezcGraphTransformation
{
- public function __construct( $x = 0, $y = 0 )
+ /**
+ * Constructor
+ *
+ * @param float $x
+ * @param float $y
+ * @return void
+ * @ignore
+ */
+ public function __construct( $x = 0., $y = 0. )
{
parent::__construct( array(
array( 1, 0, $x ),
OpenPOWER on IntegriCloud