Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, there is a typo. The comments state the following:
* Provides a Drupal interface and classes to implement PHP stream wrappers for
* public, private, and temporary files. Extends the StreamWrapperInterface
* with methods expected by Drupal stream wrapper classes.
However, the class extends PhpStreamWrapperInterface, not StreamWrapperInterface as is stated in the comment.
interface StreamWrapperInterface extends PhpStreamWrapperInterface {
Comment | File | Size | Author |
---|---|---|---|
#2 | core-typo_in_stream_wrapper_interface-2975451-2-d8.patch | 758 bytes | Jaypan |
Comments
Comment #2
Jaypan CreditAttribution: Jaypan commentedPatch attached.
Comment #3
Jaypan CreditAttribution: Jaypan commentedComment #4
timKruijsen CreditAttribution: timKruijsen at Ordina Digital Services commentedLooks good to me
Comment #5
xjmGood catch. Committed to 8.6.x and backported to 8.5.x as a documentation fix. Thanks for patching this!
Comment #8
xjm