Skip to content

Commit e6ad615

Browse files
authored
Fix return type of SolrUtils::escapeQueryChars
As noted in php/pecl-search_engine-solr#83, and fixed in php/pecl-search_engine-solr#84 the method actually never returns anything else then a string.
1 parent 4a6671f commit e6ad615

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/solr/solrutils/escapequerychars.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<refsect1 role="description">
1111
&reftitle.description;
1212
<methodsynopsis>
13-
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>SolrUtils::escapeQueryChars</methodname>
13+
<modifier>public</modifier> <modifier>static</modifier> <type>string</type><methodname>SolrUtils::escapeQueryChars</methodname>
1414
<methodparam><type>string</type><parameter>str</parameter></methodparam>
1515
</methodsynopsis>
1616
<para>
@@ -47,7 +47,7 @@
4747
<refsect1 role="returnvalues">
4848
&reftitle.returnvalues;
4949
<para>
50-
Returns the escaped string&return.falseforfailure;.
50+
Returns the escaped string.
5151
</para>
5252
</refsect1>
5353

0 commit comments

Comments
 (0)