mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-06 08:02:55 +02:00
Fix typo
This commit is contained in:
@ -18,6 +18,6 @@ class Picture extends BasePicture
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return sprintf('<img src="%s" title="$s"/>', $this->path, $this->name);
|
||||
return sprintf('<img src="%s" title="%s"/>', $this->path, $this->name);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user