From 09b921a9005036c271b51a3d360a8dd0bd637fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Tue, 2 May 2023 20:57:18 +0200 Subject: [PATCH 1/3] Narrow bool return types to true when possible --- reference/array/functions/natcasesort.xml | 4 +--- reference/array/functions/natsort.xml | 4 +--- reference/array/functions/shuffle.xml | 3 +-- reference/dom/domcharacterdata/appenddata.xml | 2 +- .../errorfunc/functions/restore-error-handler.xml | 3 +-- .../errorfunc/functions/restore-exception-handler.xml | 3 +-- reference/info/functions/phpcredits.xml | 2 +- reference/info/functions/phpinfo.xml | 11 ++++------- reference/mysqli/mysqli/close.xml | 4 ++-- reference/mysqli/mysqli/debug.xml | 4 ++-- reference/mysqli/mysqli/ssl-set.xml | 4 ++-- reference/mysqli/mysqli_stmt/close.xml | 4 ++-- reference/network/functions/closelog.xml | 3 +-- reference/network/functions/openlog.xml | 2 +- reference/network/functions/syslog.xml | 3 +-- .../functions/sodium-crypto-generichash-update.xml | 2 +- .../xml/functions/xml-set-character-data-handler.xml | 2 +- reference/xml/functions/xml-set-default-handler.xml | 2 +- reference/xml/functions/xml-set-element-handler.xml | 11 ++++------- .../functions/xml-set-end-namespace-decl-handler.xml | 2 +- .../functions/xml-set-external-entity-ref-handler.xml | 2 +- .../xml/functions/xml-set-notation-decl-handler.xml | 2 +- reference/xml/functions/xml-set-object.xml | 2 +- .../xml-set-processing-instruction-handler.xml | 2 +- .../xml-set-start-namespace-decl-handler.xml | 2 +- .../xml-set-unparsed-entity-decl-handler.xml | 2 +- 26 files changed, 36 insertions(+), 51 deletions(-) diff --git a/reference/array/functions/natcasesort.xml b/reference/array/functions/natcasesort.xml index 157678a50046..5bb2c635b362 100644 --- a/reference/array/functions/natcasesort.xml +++ b/reference/array/functions/natcasesort.xml @@ -112,8 +112,7 @@ Array ]]> - For more information see: Martin Pool's Natural Order String Comparison + For more information see: Martin Pool's Natural Order String Comparison page. @@ -131,7 +130,6 @@ Array -