From 680748775bd50797f22351bddb7f52829ffc17ba Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 30 Sep 2014 14:52:36 +0200 Subject: [PATCH] missing bits --- pq/Converter.md | 4 ++-- pq/Converter/convertFromString.md | 2 +- pq/Converter/convertToString.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pq/Converter.md b/pq/Converter.md index dee32c4..f9ad4cf 100644 --- a/pq/Converter.md +++ b/pq/Converter.md @@ -52,7 +52,7 @@ Interface for type conversions. * @param $box Box * @see pq\Converter::convertToString() */ - function convertToString($box, $type = NULL) { + function convertToString($box, $type) { return sprintf("(%F,%F),(%F,%F)", $box->p1->x, $box->p1->y, $box->p2->x, $box->p2->y @@ -64,7 +64,7 @@ Interface for type conversions. * @param string $data * @see pq\Converter::convertFromString() */ - function convertFromString($data, $type = NULL) { + function convertFromString($data, $type) { list($p1x, $p1y, $p2x, $p2y) = sscanf($data, "(%f,%f),(%f,%f)"); return new Box(new Point($p1x, $p1y), new Point($p2x, $p2y)); } diff --git a/pq/Converter/convertFromString.md b/pq/Converter/convertFromString.md index 1afbec9..08af540 100644 --- a/pq/Converter/convertFromString.md +++ b/pq/Converter/convertFromString.md @@ -18,7 +18,7 @@ Convert a string received from the PostgreSQL server back to a PHP type.