From dd61f1d87858782e8b0442658f40d22478d63655 Mon Sep 17 00:00:00 2001 From: Liam Hammett Date: Mon, 12 Aug 2024 23:19:47 +0100 Subject: [PATCH] Fix custom font example (#30) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2209a92..a14e008 100644 --- a/README.md +++ b/README.md @@ -245,7 +245,7 @@ use SimonHamp\TheOg\Interfaces\Font; class CustomFont implements Font { - public function path(string $path): string + public function path(): string { return '/path/to/your/font/source/file.ttf'; }