Skip to content

Commit 8da5d67

Browse files
committed
Fix CS
1 parent 391cf63 commit 8da5d67

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

system/Database/BaseBuilder.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ public function upsert($set = null, ?bool $escape = null)
19141914
/**
19151915
* Compiles batch upsert strings and runs the queries
19161916
*
1917-
* @param array|BaseBuilder|RawSql|object|null $set a dataset
1917+
* @param array|BaseBuilder|object|RawSql|null $set a dataset
19181918
*
19191919
* @return false|int|string[] Number of affected rows or FALSE on failure, SQL array when testMode
19201920
*
@@ -2093,13 +2093,11 @@ public function fromQuery($query): BaseBuilder
20932093

20942094
/**
20952095
* Gets column names from a select query
2096-
*
2097-
* @param string $sql
20982096
*/
20992097
protected function fieldsFromQuery(string $sql): array
21002098
{
21012099
$sql = preg_replace('/\\(([^()]*+|(?R))*\\)/', '', $sql); // remove everything in parenthesis - removes "FROM" and commas
2102-
$d = ['`', "'", '"'];
2100+
$d = ['`', "'", '"'];
21032101

21042102
$o = ' ';
21052103
$r = '$';
@@ -2146,7 +2144,7 @@ protected function formatValues(array $values): array
21462144
/**
21472145
* Compiles batch insert strings and runs the queries
21482146
*
2149-
* @param array|BaseBuilder|RawSql|object|null $set a dataset
2147+
* @param array|BaseBuilder|object|RawSql|null $set a dataset
21502148
*
21512149
* @return false|int|string[] Number of rows inserted or FALSE on failure, SQL array when testMode
21522150
*/
@@ -2499,8 +2497,8 @@ protected function validateUpdate(): bool
24992497
/**
25002498
* Sets data and calls batchExecute to run queryies
25012499
*
2502-
* @param array|BaseBuilder|RawSqwl|object|null $set a dataset or select query
2503-
* @param array|RawSql|string|null $constraints
2500+
* @param array|BaseBuilder|object|RawSqwl|null $set a dataset or select query
2501+
* @param array|RawSql|string|null $constraints
25042502
*
25052503
* @return false|int|string[] Number of rows affected or FALSE on failure, SQL array when testMode
25062504
*/

0 commit comments

Comments
 (0)