Use interfaces for PdfFormat::__construct()

Created on 25 October 2022, about 2 years ago
Updated 25 January 2023, almost 2 years ago

Problem/Motivation

TypeError: Drupal\printable_pdf\Plugin\PrintableFormat\PdfFormat::__construct(): Argument #10 ($public_stream) must be of type Drupal\Core\StreamWrapper\PublicStream, Drupal\s3fs\StreamWrapper\PublicS3fsStream given, called in /var/www/drupal/web/modules/contrib/printable/modules/printable_pdf/src/Plugin/PrintableFormat/PdfFormat.php on line 187 in Drupal\printable_pdf\Plugin\PrintableFormat\PdfFormat->__construct() (line 120 of modules/contrib/printable/modules/printable_pdf/src/Plugin/PrintableFormat/PdfFormat.php).

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇦🇪United Arab Emirates ThirstySix

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024