1
0
Fork 0
mirror of synced 2024-07-08 07:55:48 +12:00

Update V17.php

This commit is contained in:
Bradley Schofield 2024-02-08 11:52:51 +00:00
parent d9faa7b9d3
commit 5a1fef9ec6

View file

@ -57,7 +57,7 @@ class V17 extends Filter
return $content; return $content;
} }
function convertOldQueries(array $content): array private function convertOldQueries(array $content): array
{ {
$parsed = []; $parsed = [];
foreach ($content['queries'] as $query) { foreach ($content['queries'] as $query) {
@ -259,7 +259,7 @@ class V17 extends Filter
* @param string $value * @param string $value
* @return mixed * @return mixed
*/ */
function parseValue(string $value): mixed private function parseValue(string $value): mixed
{ {
$value = \trim($value); $value = \trim($value);
@ -291,7 +291,7 @@ class V17 extends Filter
* @param string $currentParam * @param string $currentParam
* @return void * @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 // Ignore spaces and commas outside of string
$canBeIgnored = false; $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) { if ($char === self::CHAR_SINGLE_QUOTE) {
return true; return true;
@ -322,7 +322,7 @@ class V17 extends Filter
return false; return false;
} }
function isSpecialChar(string $char): bool private function isSpecialChar(string $char): bool
{ {
if ($char === static::CHAR_COMMA) { if ($char === static::CHAR_COMMA) {
return true; return true;