Skip to content

Commit 40b0c25

Browse files
Adding @return to split
1 parent ccc2a16 commit 40b0c25

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ext/standard/basic_functions.stub.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2351,7 +2351,10 @@ function wordwrap(string $string, int $width = 75, string $break = "\n", bool $c
23512351
*/
23522352
function explode(string $separator, string $string, int $limit = PHP_INT_MAX): array {}
23532353

2354-
/** @alias explode */
2354+
/**
2355+
* @return array<int, string>
2356+
* @alias explode
2357+
*/
23552358
function split(string $separator, string $string, int $limit = PHP_INT_MAX): array {}
23562359

23572360
/**

ext/standard/basic_functions_arginfo.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)