From 5c29437bcda91a0534cff8f8d5adb1d3aae9959f Mon Sep 17 00:00:00 2001 From: Liam Hammett Date: Mon, 12 Aug 2024 22:51:58 +0100 Subject: [PATCH] Fix custom font example The real implementation doesn't take a path parameter. --- 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'; }