mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-05 22:47:34 +02:00
Psalm > Fix Expected Argument
This commit is contained in:
@@ -8,8 +8,8 @@ class Word implements Text
|
||||
{
|
||||
}
|
||||
|
||||
public function render(string $font): string
|
||||
public function render(string $extrinsicState): string
|
||||
{
|
||||
return sprintf('Word %s with font %s', $this->name, $font);
|
||||
return sprintf('Word %s with font %s', $this->name, $extrinsicState);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user