Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 13, 2022
1 parent 96e370b commit d1ecfc1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/Dibi/Drivers/SqliteDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ public function registerAggregateFunction(
callable $rowCallback,
callable $agrCallback,
int $numArgs = -1
): void {
): void
{
$this->connection->createAggregate($name, $rowCallback, $agrCallback, $numArgs);
}
}
4 changes: 2 additions & 2 deletions src/Dibi/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function translate(array $args): string
(\?) ## 11) placeholder
)/xs
XX
,
,
[$this, 'cb'],
substr($arg, $toSkip)
);
Expand Down Expand Up @@ -448,7 +448,7 @@ public function formatValue($value, ?string $modifier): string
:(\S*?:)([a-zA-Z0-9._]?)
)/sx
XX
,
,
[$this, 'cb'],
substr($value, $toSkip)
);
Expand Down
3 changes: 1 addition & 2 deletions src/Dibi/dibi.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ class dibi
IDENTIFIER = 'n';

/** version */
public const
VERSION = '4.2.6';
public const VERSION = '4.2.6';

/** sorting order */
public const
Expand Down

0 comments on commit d1ecfc1

Please sign in to comment.