Skip to content

Commit

Permalink
Remove phpdoc return type of null for preg_replace
Browse files Browse the repository at this point in the history
  • Loading branch information
tigitz authored Jan 20, 2019
1 parent 5687cf3 commit fac0eb6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/special_cases.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,14 @@ 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.
*
* If matches are found, the new subject will
* be returned, otherwise subject will be
* returned unchanged.
*
* Returns a file pointer resource on success, .
* @throws PcreException
*
*/
Expand Down

0 comments on commit fac0eb6

Please # to comment.