mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 01:32:22 +01:00
commit
abd2b8e4a3
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user