Add return type to hook_file_download implementations

Created on 7 January 2025, 2 months ago

Problem/Motivation

See 📌 [META] Add return types to hook implementations Active

This is the last group of hooks in Hook classes to be updated.

Steps to reproduce

grep "fileDownload\\\\.* has no return" core/.phpstan-baseline.php

Proposed resolution

Add array|int|null to the hook documentation. Add the same to hook implementations, or a narrower set where possible.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

file system

Created by

🇦🇺Australia mstrelan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024