for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ApiChef\RequestQueryHelper;
trait InteractWithQueryString
{
protected function prepareSortsForValidation()
$this->merge([
merge()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$this->/** @scrutinizer ignore-call */
merge([
'sort' => $this->sorts()->getFields()->mapWithKeys(function (SortField $field) {
sorts()
'sort' => $this->/** @scrutinizer ignore-call */ sorts()->getFields()->mapWithKeys(function (SortField $field) {
return [$field->getField() => $field->getParams()];
})->all(),
]);
}