mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-25 22:09:23 +02:00
changing interface to improve rendering
This commit is contained in:
@@ -4,7 +4,7 @@ namespace DesignPatterns\Composite;
|
||||
|
||||
class InputElement extends FormElement
|
||||
{
|
||||
public function render()
|
||||
public function render($indent = 0)
|
||||
{
|
||||
return '<input type="text" />';
|
||||
}
|
||||
|
Reference in New Issue
Block a user