Skip to content

Commit

Permalink
Suppress error caused by phan bug
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Dec 7, 2022
1 parent 1597f52 commit 3d00a5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/instruments/php/instrumentqueryengine.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ class InstrumentQueryEngine implements \LORIS\Data\Query\QueryEngine
);"
);
$insertstmt = "INSERT INTO querycandidates VALUES ("
/* see https://github.com/phan/phan/issues/4746
* @phan-suppress-next-line PhanTypeMismatchArgumentInternal */
. join('),(', iterator_to_array($candidates))
. ')';

Expand Down

0 comments on commit 3d00a5c

Please sign in to comment.