We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b614aa commit 5780fddCopy full SHA for 5780fdd
src/TclTk/TkFont.php
@@ -32,7 +32,7 @@ protected function getStyleNames(): array
32
return array_keys(array_filter($this->getStyles()));
33
}
34
35
- public static function createFromFontOptions(TkFontOptions $fontOptions): static
+ public static function createFromFontOptions(TkFontOptions $fontOptions): self
36
{
37
$font = new static($fontOptions->family, (int) $fontOptions->size);
38
$font->setBold($fontOptions->weight === 'bold')
0 commit comments