Update Font.php

Specified wrong constant for RecursiveIteratorIterator
This commit is contained in:
oleibman
2023-12-18 08:18:03 -08:00
committed by GitHub
parent 722600c8dc
commit 551d69c874
+1 -1
View File
@@ -722,7 +722,7 @@ class Font
new RecursiveIteratorIterator(
$it,
RecursiveIteratorIterator::LEAVES_ONLY,
RecursiveIteratorIterator::CHILD_FIRST
RecursiveIteratorIterator::CATCH_GET_CHILD
) as $file
) {
if (basename($file) === $desiredFont) {