-# 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.
* 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:
-# 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.
* 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: