Skip to content

Commit dd61f1d

Browse files
authored
Fix custom font example (#30)
1 parent 74a408b commit dd61f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ use SimonHamp\TheOg\Interfaces\Font;
245245

246246
class CustomFont implements Font
247247
{
248-
public function path(string $path): string
248+
public function path(): string
249249
{
250250
return '/path/to/your/font/source/file.ttf';
251251
}

0 commit comments

Comments
 (0)