Skip to content

Commit fac0eb6

Browse files
authored
Remove phpdoc return type of null for preg_replace
1 parent 5687cf3 commit fac0eb6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/special_cases.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,14 @@ function apcu_fetch($key)
139139
* -1 (no limit).
140140
* @param int $count If specified, this variable will be filled with the number of
141141
* replacements done.
142-
* @return string|array|null preg_replace returns an array if the
142+
* @return string|array preg_replace returns an array if the
143143
* subject parameter is an array, or a string
144144
* otherwise.
145145
*
146146
* If matches are found, the new subject will
147147
* be returned, otherwise subject will be
148148
* returned unchanged.
149149
*
150-
* Returns a file pointer resource on success, .
151150
* @throws PcreException
152151
*
153152
*/

0 commit comments

Comments
 (0)