File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -755,7 +755,7 @@ public function applyText(GdImage $sourceResource): GdImage
755755 $ font = @file_get_contents ($ this ->fontPath );
756756
757757 if ($ font === false ) {
758- throw new Exception ('Failed to download font from: ' . $ this ->fontPath );
758+ throw new \ Exception ('Failed to download font from: ' . $ this ->fontPath );
759759 }
760760 file_put_contents ($ tempFontPath , $ this ->fontPath );
761761 $ fontPath = $ tempFontPath ;
@@ -774,7 +774,7 @@ public function applyText(GdImage $sourceResource): GdImage
774774 } elseif (file_exists ($ fontAlt2 )) {
775775 $ fontPath = $ fontAlt2 ;
776776 } else {
777- throw new Exception ('Font file not found: ' . $ fontPath );
777+ throw new \ Exception ('Font file not found: ' . $ fontPath );
778778 }
779779 }
780780 }
You can’t perform that action at this time.
0 commit comments