1
0
mirror of https://github.com/danog/postgres.git synced 2024-12-02 17:37:57 +01:00

Mark internal classes as internal

This commit is contained in:
Aaron Piotrowski 2020-05-22 21:54:23 -05:00
parent ff2e0c600b
commit d0da29f987
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,9 @@ namespace Amp\Postgres\Internal;
use Amp\Postgres\ParseException; use Amp\Postgres\ParseException;
/**
* @internal
*/
final class ArrayParser final class ArrayParser
{ {
/** /**

View File

@ -9,6 +9,8 @@ const STATEMENT_PARAM_REGEX = <<<'REGEX'
REGEX; REGEX;
/** /**
* @internal
*
* @param string $sql SQL statement with named and unnamed placeholders. * @param string $sql SQL statement with named and unnamed placeholders.
* @param array $names [Output] Array of parameter positions mapped to names and/or indexed locations. * @param array $names [Output] Array of parameter positions mapped to names and/or indexed locations.
* *
@ -38,6 +40,8 @@ function parseNamedParams(string $sql, ?array &$names): string
} }
/** /**
* @internal
*
* @param mixed[] $params User-provided array of statement parameters. * @param mixed[] $params User-provided array of statement parameters.
* @param mixed[] $names Array generated by parseNamedParams. * @param mixed[] $names Array generated by parseNamedParams.
* *