diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-10-27 11:34:51 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-10-27 11:34:51 +0000 |
commit | ea523b19b2f15e5c08541897a9685f94ff4ebbae (patch) | |
tree | 4d1359d8b431f4b0b2a1f1b38754c4986d1a4c2f /src/structs | |
parent | 4ed2de1f6271653a6f965237a245d0d4c2535aab (diff) | |
download | zetacomponents-graph-ea523b19b2f15e5c08541897a9685f94ff4ebbae.zip zetacomponents-graph-ea523b19b2f15e5c08541897a9685f94ff4ebbae.tar.gz |
- Added tests for structs
Diffstat (limited to 'src/structs')
-rw-r--r-- | src/structs/coordinate.php | 4 |
1 files changed, 2 insertions, 2 deletions
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']; } } |