Skip to content

Commit c8b2acf

Browse files
GitHub Actions Update
Need to move to v3 as Node.js 12 actions are deprecated. Also some more scrutinizer ignore type.
1 parent 3300ed7 commit c8b2acf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
steps:
5353
- name: Checkout code
54-
uses: actions/checkout@v2
54+
uses: actions/checkout@v3
5555

5656
- name: Setup PHP
5757
uses: shivammathur/setup-php@v2

src/PostgresEngine.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ protected function toVector(Model $model)
130130
// Set a field weight if it was specified in Model's searchableOptions()
131131
if ($label = $this->rankFieldWeightLabel($model, $key)) {
132132
$vector = "setweight($vector, ?)";
133-
$bindings->push($label);
133+
$bindings->push(/** @scrutinizer ignore-type */ $label);
134134
}
135135

136136
return $vector;
@@ -415,7 +415,7 @@ protected function rankingExpression(Model $model, $indexColumn)
415415
}
416416

417417
if ($norm = $this->rankNormalization($model)) {
418-
$args->push($norm);
418+
$args->push(/** @scrutinizer ignore-type */ $norm);
419419
}
420420

421421
$fn = $this->rankFunction($model);

0 commit comments

Comments
 (0)