From d0da29f987f231e8893d2a423f7e8ecdcb72bd95 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Fri, 22 May 2020 21:54:23 -0500 Subject: [PATCH] Mark internal classes as internal --- src/Internal/ArrayParser.php | 3 +++ src/Internal/functions.php | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/Internal/ArrayParser.php b/src/Internal/ArrayParser.php index c86dd6e..0bb2cd4 100644 --- a/src/Internal/ArrayParser.php +++ b/src/Internal/ArrayParser.php @@ -4,6 +4,9 @@ namespace Amp\Postgres\Internal; use Amp\Postgres\ParseException; +/** + * @internal + */ final class ArrayParser { /** diff --git a/src/Internal/functions.php b/src/Internal/functions.php index e3765dd..2e60032 100644 --- a/src/Internal/functions.php +++ b/src/Internal/functions.php @@ -9,6 +9,8 @@ const STATEMENT_PARAM_REGEX = <<<'REGEX' REGEX; /** + * @internal + * * @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. * @@ -38,6 +40,8 @@ function parseNamedParams(string $sql, ?array &$names): string } /** + * @internal + * * @param mixed[] $params User-provided array of statement parameters. * @param mixed[] $names Array generated by parseNamedParams. *