Skip to content

Commit

Permalink
refactor to HTMLNode
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobg committed Jul 15, 2020
1 parent c932d04 commit d144169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Renderable_aaaaa.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Formularium\Frontend\HTML\Renderable;

use Formularium\Field;
use Formularium\HTMLElement;
use Formularium\HTMLNode;

class Renderable_aaaaa extends Renderable_string
{
public function editable($value, Field $field, HTMLElement $previous): HTMLElement
public function editable($value, Field $field, HTMLNode $previous): HTMLNode
{
$element = parent::editable($value, $field, $previous);
$element->get('input')[0]->setAttribute('style', 'background-color: #ccf');
Expand Down

0 comments on commit d144169

Please sign in to comment.