Skip to content

Commit 8f09056

Browse files
committed
Fix CS
1 parent 9e80a45 commit 8f09056

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
@@ -1912,7 +1912,7 @@ public function upsert($set = null, ?bool $escape = null)
19121912
/**
19131913
* Compiles batch upsert strings and runs the queries
19141914
*
1915-
* @param array|BaseBuilder|RawSql|object|null $set a dataset
1915+
* @param array|BaseBuilder|object|RawSql|null $set a dataset
19161916
*
19171917
* @return false|int|string[] Number of affected rows or FALSE on failure, SQL array when testMode
19181918
*
@@ -2091,13 +2091,11 @@ public function fromQuery($query): BaseBuilder
20912091

20922092
/**
20932093
* Gets column names from a select query
2094-
*
2095-
* @param string $sql
20962094
*/
20972095
protected function fieldsFromQuery(string $sql): array
20982096
{
20992097
$sql = preg_replace('/\\(([^()]*+|(?R))*\\)/', '', $sql); // remove everything in parenthesis - removes "FROM" and commas
2100-
$d = ['`', "'", '"'];
2098+
$d = ['`', "'", '"'];
21012099

21022100
$o = ' ';
21032101
$r = '$';
@@ -2144,7 +2142,7 @@ protected function formatValues(array $values): array
21442142
/**
21452143
* Compiles batch insert strings and runs the queries
21462144
*
2147-
* @param array|BaseBuilder|RawSql|object|null $set a dataset
2145+
* @param array|BaseBuilder|object|RawSql|null $set a dataset
21482146
*
21492147
* @return false|int|string[] Number of rows inserted or FALSE on failure, SQL array when testMode
21502148
*/
@@ -2497,8 +2495,8 @@ protected function validateUpdate(): bool
24972495
/**
24982496
* Sets data and calls batchExecute to run queryies
24992497
*
2500-
* @param array|BaseBuilder|RawSqwl|object|null $set a dataset or select query
2501-
* @param array|RawSql|string|null $constraints
2498+
* @param array|BaseBuilder|object|RawSqwl|null $set a dataset or select query
2499+
* @param array|RawSql|string|null $constraints
25022500
*
25032501
* @return false|int|string[] Number of rows affected or FALSE on failure, SQL array when testMode
25042502
*/

0 commit comments

Comments
 (0)