Fix FileUploadResource::$fileSystem documented type to match the constructor typehint

Created on 3 April 2024, 2 months ago
Updated 17 April 2024, about 2 months ago

Problem/Motivation

Dependency injection in the constructor is defined to accept services that implement Drupal\Core\File\FileSystemInterface, but are stored in a property documented to only Drupal\Core\File\FileSystem instances.

A search through the class code does not uncover any calls to methods not defined by FileSystemInterface.

Proposed resolution

Change the documented property variable type to accept any service that implements Drupal\Core\File\FileSystemInterface.

API changes

None

πŸ› Bug report
Status

Fixed

Version

10.2 ✨

Component
File moduleΒ  β†’

Last updated 3 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States lhridley

Live updates comments and jobs are added and updated live.
  • Documentation

    Primarily changes documentation, not code. For Drupal core issues, select the Documentation component instead of using this tag. In general, component selection is preferred over tag selection.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024