diff --git a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php index 0cc285c..54e7e7a 100644 --- a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php @@ -339,14 +339,16 @@ public function stream_close() { } /** - * Signals that stream_select() is not supported by returning false. + * Gets the underlying stream resource for stream_select(). * - * @param int + * @param int $cast_as * Can be STREAM_CAST_FOR_SELECT or STREAM_CAST_AS_STREAM. * - * @return false + * @return resource|false + * The underlying stream resource or FALSE if stream_select() is not + * supported. * - * @see http://php.net/manual/en/streamwrapper.stream-cast.php + * @see http://php.net/manual/streamwrapper.stream-cast.php */ public function stream_cast($cast_as) { return false;