Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
Tests
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Nov 2022 at 06:59 UTC
Updated:
22 Jan 2023 at 21:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Pracheth commentedHi fnalb2,
Updated the class file as per the proposed resolution.
Please review the same.
Comment #4
fnalb2 commentedReviewed
Comment #5
drunken monkeyThanks for reporting this problem and providing a patch, respectively!
However, obviously, when changing the method signature you will also need to adapt the callers accordingly. The test failures should have been a hint.
Furthermore, you see that the
= NULLdefault was just there to allowNULLto be passed (which was necessary before the?arraysyntax for type hinting became available), not as an actual default.Attached is the correct solution to this problem, along with a few other code style fixes in these two files.
Comment #7
drunken monkeyCommitted.