Skip to content

Commit

Permalink
Rename methods to camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
annda committed Jan 25, 2024
1 parent 14fe8e2 commit c76618f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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 = [
Expand All @@ -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;
Expand Down

0 comments on commit c76618f

Please sign in to comment.