Skip to content

Commit

Permalink
Fix: missed properties method
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbruce committed Oct 17, 2021
1 parent d219b06 commit 6b6bc2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@ protected function omitEndTagClosingString(): string
return ' />';
}

/**
* @return array<string> [description]
*/
protected function properties(): array
{
return $this->properties;
}

public function build(): string
{
return $this->opening() . $this->contentString() . $this->closing();
Expand Down
8 changes: 8 additions & 0 deletions src/Implementations/Properties.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,12 @@ protected function propertiesString(): string

return ' ' . implode(' ', $b);
}

/**
* @return array<string> [description]
*/
protected function properties(): array
{
return $this->properties;
}
}

0 comments on commit 6b6bc2e

Please sign in to comment.