Fix possible return values from `readline` (#762)

This commit is contained in:
Andreas Frömer 2020-03-20 15:21:36 +01:00 committed by GitHub
parent 0d172edd5f
commit 92d2a4a6c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@
* @param string $prompt [optional] <p>
* You may specify a string with which to prompt the user.
* </p>
* @return string a single string from the user. The line returned has the ending
* newline removed.
* @return string|false a single string from the user. The line returned has the ending newline removed.
* If there is no more data to read, then FALSE is returned.
*/
function readline ($prompt = null) {}