Skip to content
Snippets Groups Projects

release: 3.0.0

Merged Krzysztof Dyszczyk requested to merge devel into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -33,7 +33,7 @@ trait HtmlAttributes {
@@ -33,7 +33,7 @@ trait HtmlAttributes {
*
*
* @return array<string[]|string|bool>
* @return array<string[]|string|bool>
*/
*/
final public function get_attributes( array $except = [ 'name', 'method', 'action' ] ): array {
final public function get_attributes( array $except = [ 'name', 'class', 'method', 'action' ] ): array {
return array_filter(
return array_filter(
$this->attributes,
$this->attributes,
static function ( $attribute, $key ) use ( $except ) {
static function ( $attribute, $key ) use ( $except ) {
Loading