Skip to content

Commit 4ec9488

Browse files
committed
BUGFIX: replace printf by sprintf
1 parent aa17f31 commit 4ec9488

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Filter/SearchFilter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public function __construct(
3131
public function getCriteria(): array
3232
{
3333
return [
34-
printf('criteria[%s][type]', $this->nameOfCriterion) => $this->searchOption,
35-
printf('criteria[%s][value]', $this->nameOfCriterion) => $this->searchPhrase,
34+
sprintf('criteria[%s][type]', $this->nameOfCriterion) => $this->searchOption,
35+
sprintf('criteria[%s][value]', $this->nameOfCriterion) => $this->searchPhrase,
3636
];
3737
}
3838
}

0 commit comments

Comments
 (0)