Skip to content

Commit

Permalink
Update JsCode.php
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Feb 24, 2023
1 parent da71e42 commit 4d1f961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webfiori/ui/JsCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function addCode(string $jsCode) {
*
* @since 1.0
*/
public function setAttribute(string $name, string $val = null) : HTMLNode {
public function setAttribute(string $name, $val = null) : HTMLNode {
if ($name != 'type') {
return parent::setAttribute($name, $val);
}
Expand Down

0 comments on commit 4d1f961

Please sign in to comment.