Skip to content

Commit cc6e22a

Browse files
author
user
committed
fix codestyle
1 parent e9e6716 commit cc6e22a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/PostgresEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ protected function performSearch(Builder $builder, $perPage = 0, $page = 1)
219219
->orderBy($builder->model->getKeyName());
220220
//if model use soft delete - without trashed
221221
if(method_exists($builder->model, 'getDeletedAtColumn')) {
222-
$query->where($builder->model->getDeletedAtColumn(),null);
222+
$query->where($builder->model->getDeletedAtColumn(), null);
223223
}
224224
if ($perPage > 0) {
225225
$query->skip(($page - 1) * $perPage)

tests/PostgresEngineTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,8 @@ public function searchableAdditionalArray()
249249
}
250250

251251
class TestWithSoftDeleteModel extends Model
252-
{
253-
use \Illuminate\Database\Eloquent\SoftDeletes;
254-
252+
{
253+
use \Illuminate\Database\Eloquent\SoftDeletes;
255254
public $id = 1;
256255

257256
public $text = 'Foo';

0 commit comments

Comments
 (0)