Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stubs/core.stub
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function preg_filter($pattern, $replacement, $subject, int $limit = -1, &$count
* @param array<string>|string $replace
* @param array<string>|string $subject
* @param-out int $count
* @return list<string>|string
* @return ($subject is array ? list<string> : string)
*/
function str_replace($search, $replace, $subject, ?int &$count = null) {}

Expand All @@ -265,7 +265,7 @@ function str_replace($search, $replace, $subject, ?int &$count = null) {}
* @param array<string>|string $replace
* @param array<string>|string $subject
* @param-out int $count
* @return list<string>|string
* @return ($subject is array ? list<string> : string)
*/
function str_ireplace($search, $replace, $subject, ?int &$count = null) {}

Expand Down
Loading