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 {
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jaypan created an issue. See original summary.

Jaypan’s picture

Jaypan’s picture

Status: Active » Needs review
timKruijsen’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me

xjm’s picture

Status: Reviewed & tested by the community » Fixed

Good catch. Committed to 8.6.x and backported to 8.5.x as a documentation fix. Thanks for patching this!

  • xjm committed 3c5bf74 on 8.6.x
    Issue #2975451 by Jaypan: Incorrect reference in StreamWrapperInterface....

  • xjm committed 41ac46c on 8.5.x
    Issue #2975451 by Jaypan: Incorrect reference in StreamWrapperInterface....
xjm’s picture

Version: 8.6.x-dev » 8.5.x-dev

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.