From 21ce7d9ec02b0bf7c6e0ac7c28bc7c1bb0a841c5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 26 Apr 2017 20:57:36 +0300 Subject: update phpmd ruleset to use (subset) of cleancode fix various minor issues reported by static analysis remove redundant php closing tag from several more files --- plugins/search_sphinx/sphinxapi.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/search_sphinx/sphinxapi.php') diff --git a/plugins/search_sphinx/sphinxapi.php b/plugins/search_sphinx/sphinxapi.php index 90643d3c7..41b0fac41 100644 --- a/plugins/search_sphinx/sphinxapi.php +++ b/plugins/search_sphinx/sphinxapi.php @@ -973,6 +973,10 @@ class SphinxClient return pack ( "N", $t2 ); } + /** + * @SuppressWarnings(unused) + */ + /// add query to multi-query batch /// returns index into results array from RunQueries() call function AddQuery ( $query, $index="*", $comment="" ) -- cgit v1.2.3