From ea523b19b2f15e5c08541897a9685f94ff4ebbae Mon Sep 17 00:00:00 2001 From: Kore Nordmann Date: Fri, 27 Oct 2006 11:34:51 +0000 Subject: - Added tests for structs --- src/structs/coordinate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/structs') diff --git a/src/structs/coordinate.php b/src/structs/coordinate.php index c84683f..bbdd077 100644 --- a/src/structs/coordinate.php +++ b/src/structs/coordinate.php @@ -70,8 +70,8 @@ class ezcGraphCoordinate */ public function __set_state( array $properties ) { - $this->x = (float) $properties['x']; - $this->y = (float) $properties['y']; + $this->x = $properties['x']; + $this->y = $properties['y']; } } -- cgit v1.1