From d5312a169e94c202776770e505fc3aac6509e9a6 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 30 Sep 2014 14:44:49 +0200 Subject: [PATCH] leaving this argument optional doesn't make anything better --- pq/Converter/convertFromString.md | 6 +++--- pq/Converter/convertToString.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pq/Converter/convertFromString.md b/pq/Converter/convertFromString.md index e7bc701..1afbec9 100644 --- a/pq/Converter/convertFromString.md +++ b/pq/Converter/convertFromString.md @@ -1,4 +1,4 @@ -# mixed pq\Converter::convertFromString(string $data[, int $type = NULL) +# mixed pq\Converter::convertFromString(string $data, int $type) Convert a string received from the PostgreSQL server back to a PHP type. @@ -6,8 +6,8 @@ Convert a string received from the PostgreSQL server back to a PHP type. * string $data String data received from the server. -* Optional in $type = NULL - The type of the data. Irrelevant for single-type converters. +* int $type + The type OID of the data. Irrelevant for single-type converters. ## Returns: diff --git a/pq/Converter/convertToString.md b/pq/Converter/convertToString.md index 5328a2e..cfe31c0 100644 --- a/pq/Converter/convertToString.md +++ b/pq/Converter/convertToString.md @@ -1,4 +1,4 @@ -# string pq\Converter::convertToString(mixed $value[, int $type = NULL]) +# string pq\Converter::convertToString(mixed $value, int $type) Convert a value to a string for use in a query. @@ -6,8 +6,8 @@ Convert a value to a string for use in a query. * mixed $value The PHP value which should be converted to a string. -* Optional int $type = NULL - The type the converter should handle. Irrelevant for singly-type converters. +* int $type + The type OID the converter should handle. Irrelevant for singly-type converters. ## Returns: -- 2.30.2