Skip to content

Commit

Permalink
Chore: Code Review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
theodesp committed Jan 3, 2024
1 parent deb45d3 commit 4e4c116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Utilities/DomHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class DOMHelpers {
*
* @return string|null extracted attribute
*/
public static function parseAttribute( $html, $selector = '', $attribute, $default_value = null ): ?string {
public static function parseAttribute( $html, $selector, $attribute, $default_value = null ): ?string {
$doc = new Document();
$doc->loadHTML( $html );
if ( '*' === $selector ) {
Expand Down

0 comments on commit 4e4c116

Please sign in to comment.