From d1ecfc106c3061857f50d41d1fb79bac5f24c192 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 13 Oct 2022 03:52:05 +0200 Subject: [PATCH] cs --- src/Dibi/Drivers/SqliteDriver.php | 3 ++- src/Dibi/Translator.php | 4 ++-- src/Dibi/dibi.php | 3 +-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Dibi/Drivers/SqliteDriver.php b/src/Dibi/Drivers/SqliteDriver.php index 3a339e31..68148da2 100644 --- a/src/Dibi/Drivers/SqliteDriver.php +++ b/src/Dibi/Drivers/SqliteDriver.php @@ -292,7 +292,8 @@ public function registerAggregateFunction( callable $rowCallback, callable $agrCallback, int $numArgs = -1 - ): void { + ): void + { $this->connection->createAggregate($name, $rowCallback, $agrCallback, $numArgs); } } diff --git a/src/Dibi/Translator.php b/src/Dibi/Translator.php index 3d2a4831..d28bcdb1 100644 --- a/src/Dibi/Translator.php +++ b/src/Dibi/Translator.php @@ -109,7 +109,7 @@ public function translate(array $args): string (\?) ## 11) placeholder )/xs XX -, + , [$this, 'cb'], substr($arg, $toSkip) ); @@ -448,7 +448,7 @@ public function formatValue($value, ?string $modifier): string :(\S*?:)([a-zA-Z0-9._]?) )/sx XX -, + , [$this, 'cb'], substr($value, $toSkip) ); diff --git a/src/Dibi/dibi.php b/src/Dibi/dibi.php index 4669dfd4..9b7d7880 100644 --- a/src/Dibi/dibi.php +++ b/src/Dibi/dibi.php @@ -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