From 5a1fef9ec6130cf063a91bf2d1ba8f9c32bd8ad2 Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Thu, 8 Feb 2024 11:52:51 +0000 Subject: [PATCH] Update V17.php --- src/Appwrite/Utopia/Request/Filters/V17.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Appwrite/Utopia/Request/Filters/V17.php b/src/Appwrite/Utopia/Request/Filters/V17.php index 905f2ade7e..246b52deae 100644 --- a/src/Appwrite/Utopia/Request/Filters/V17.php +++ b/src/Appwrite/Utopia/Request/Filters/V17.php @@ -57,7 +57,7 @@ class V17 extends Filter return $content; } - function convertOldQueries(array $content): array + private function convertOldQueries(array $content): array { $parsed = []; foreach ($content['queries'] as $query) { @@ -259,7 +259,7 @@ class V17 extends Filter * @param string $value * @return mixed */ - function parseValue(string $value): mixed + private function parseValue(string $value): mixed { $value = \trim($value); @@ -291,7 +291,7 @@ class V17 extends Filter * @param string $currentParam * @return void */ - function appendSymbol(bool $isStringStack, string $char, int $index, string $filter, string &$currentParam): void + private function appendSymbol(bool $isStringStack, string $char, int $index, string $filter, string &$currentParam): void { // Ignore spaces and commas outside of string $canBeIgnored = false; @@ -311,7 +311,7 @@ class V17 extends Filter } } - function isQuote(string $char): bool + private function isQuote(string $char): bool { if ($char === self::CHAR_SINGLE_QUOTE) { return true; @@ -322,7 +322,7 @@ class V17 extends Filter return false; } - function isSpecialChar(string $char): bool + private function isSpecialChar(string $char): bool { if ($char === static::CHAR_COMMA) { return true;