From fac0eb6cd53d8dde9775e8c8e6dea645a4a83f6a Mon Sep 17 00:00:00 2001 From: Philippe SEGATORI Date: Sun, 20 Jan 2019 23:01:18 +0100 Subject: [PATCH] Remove phpdoc return type of null for preg_replace --- lib/special_cases.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/special_cases.php b/lib/special_cases.php index 8400e35c..b7d8985b 100644 --- a/lib/special_cases.php +++ b/lib/special_cases.php @@ -139,7 +139,7 @@ function apcu_fetch($key) * -1 (no limit). * @param int $count If specified, this variable will be filled with the number of * replacements done. - * @return string|array|null preg_replace returns an array if the + * @return string|array preg_replace returns an array if the * subject parameter is an array, or a string * otherwise. * @@ -147,7 +147,6 @@ function apcu_fetch($key) * be returned, otherwise subject will be * returned unchanged. * - * Returns a file pointer resource on success, . * @throws PcreException * */