It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
The method buildQuery() does not exist on spec\BitBag\SyliusElasti...asTaxonQueryBuilderSpec. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
39
$this->/** @scrutinizer ignore-call */
40
buildQuery([
Loading history...
40
'taxons_property' => 'book',
41
])->shouldBeAnInstanceOf(Terms::class);
42
}
43
44
function it_builds_returned_null_if_property_is_null(): void
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.