From b2b3568932aa8c70981b9230f1af216938191944 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 13 Mar 2020 17:12:53 +0100 Subject: add type hinting in reflection return NULL instead of FALSE on failure --- tests/006-rpminfo-errors.phpt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/006-rpminfo-errors.phpt') diff --git a/tests/006-rpminfo-errors.phpt b/tests/006-rpminfo-errors.phpt index edacbdb..5d205d7 100644 --- a/tests/006-rpminfo-errors.phpt +++ b/tests/006-rpminfo-errors.phpt @@ -21,15 +21,15 @@ Done + PHP Warnings Warning: rpminfo(): Can't open '%s/tests/missing.rpm': No such file or directory in %s on line %d -bool(false) +NULL Warning: rpminfo(): Can't read '%s/tests/006-rpminfo-errors.php': Argument is not a RPM file in %s on line %d -bool(false) +NULL + PHP Warnings -bool(false) +NULL string(%d) "Can't open '%s/tests/missing.rpm': No such file or directory" -bool(false) +NULL string(%d) "Can't read '%s/tests/006-rpminfo-errors.php': Argument is not a RPM file" bool(true) NULL -- cgit