From: Michael Wallner Date: Tue, 30 Sep 2014 12:44:49 +0000 (+0200) Subject: leaving this argument optional doesn't make anything better X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d5312a169e94c202776770e505fc3aac6509e9a6;p=mdref%2Fmdref-pq leaving this argument optional doesn't make anything better --- 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: