Skip to content
Snippets Groups Projects

release: 3.0.0

Merged Krzysztof Dyszczyk requested to merge devel into master
5 files
+ 26
74
Compare changes
  • Side-by-side
  • Inline

Files

@@ -45,13 +45,7 @@ trait HtmlAttributes {
return isset( $this->attributes[ $name ] );
}
/**
* @param string $name
* @param ?string $default
*
* @return string
*/
public function get_attribute( string $name, $default = null ): string {
public function get_attribute( string $name, string $default = null ): string {
return $this->attributes[ $name ] ?? $default;
}
}
Loading