1 diff -up vendor/tecnickcom/tcpdf/include/tcpdf_images.php.patch vendor/tecnickcom/tcpdf/include/tcpdf_images.php
2 --- vendor/tecnickcom/tcpdf/include/tcpdf_images.php.patch 2022-05-03 20:56:17.330248199 +0200
3 +++ vendor/tecnickcom/tcpdf/include/tcpdf_images.php 2022-05-03 20:56:28.359497624 +0200
4 @@ -79,7 +79,7 @@ class TCPDF_IMAGES {
8 - $type = strtolower(trim(pathinfo(parse_url($imgfile, PHP_URL_PATH), PATHINFO_EXTENSION)));
9 + $type = strtolower(trim(pathinfo(parse_url($imgfile, PHP_URL_PATH) ?? '', PATHINFO_EXTENSION)));