Skip to content

Commit

Permalink
Fix custom font example (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
imliam committed Aug 12, 2024
1 parent 74a408b commit dd61f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit dd61f1d

Please sign in to comment.