Skip to content

Commit 1ab1825

Browse files
andrehankeandrehanke
authored andcommitted
refat: style fix
1 parent 7eee1d4 commit 1ab1825

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Database/Connection.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,7 @@ private function compileNewQuery($query, $bindings)
342342
$newQuery = join(array_map(fn ($k1, $k2) => $k1.$k2, $partQuery, $bindings));
343343
$newQuery = str_replace('[]', '', $newQuery);
344344
$app_encoding = config('database.sybase.app_encoding');
345-
if (! $app_encoding)
346-
{
345+
if (! $app_encoding) {
347346
return $newQuery;
348347
}
349348
$db_charset = config('database.sybase.db_charset');
@@ -392,8 +391,7 @@ public function select($query, $bindings = [], $useReadPdo = true)
392391
$result = [...$result];
393392

394393
$app_encoding = config('database.sybase.app_encoding');
395-
if (! $app_encoding)
396-
{
394+
if (! $app_encoding) {
397395
return $result;
398396
}
399397
$db_charset = config('database.sybase.db_charset');

0 commit comments

Comments
 (0)