From c76618fb80edaed34929d09bb56c69ab73a36b12 Mon Sep 17 00:00:00 2001 From: Anna Dabrowska Date: Thu, 25 Jan 2024 15:30:29 +0100 Subject: [PATCH] Rename methods to camelCase --- Functions.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Functions.php b/Functions.php index 7e2a6e7..71d4324 100644 --- a/Functions.php +++ b/Functions.php @@ -21,8 +21,8 @@ public static function register($pdo) { $pdo->sqliteCreateAggregate( 'GROUP_CONCAT_DISTINCT', - [Functions::class, 'GroupConcatStep'], - [Functions::class, 'GroupConcatFinalize'] + [Functions::class, 'groupConcatStep'], + [Functions::class, 'groupConcatFinalize'] ); $pdo->sqliteCreateFunction('GETACCESSLEVEL', [Functions::class, 'getAccessLevel'], 1); @@ -42,8 +42,7 @@ public static function register($pdo) * @param string $string column value * @param string $separator separator added between values */ - // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps - public static function GroupConcatStep(&$context, $rownumber, $string, $separator = ',') + public static function groupConcatStep(&$context, $rownumber, $string, $separator = ',') { if (is_null($context)) { $context = [ @@ -65,8 +64,7 @@ public static function GroupConcatStep(&$context, $rownumber, $string, $separato * @param int $rownumber number of rows over which the aggregate was performed. * @return null|string */ - // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps - public static function GroupConcatFinalize(&$context, $rownumber) + public static function groupConcatFinalize(&$context, $rownumber) { if (!is_array($context)) { return null;