Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Feb 9, 2025
1 parent 6aade74 commit b3219b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Lister/Lister.php
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ protected function replaceTagParameters( $tag, Article $article ) {

// Get DisplayTitle
$titleTarget = $article->mTitle->createFragmentTarget( '' );
$values = $pageProps->getPropeties( $titleTarget, 'displaytitle' );
$values = $pageProps->getProperties( $titleTarget, 'displaytitle' );
$id = $titleTarget->getArticleID();

Check warning

Code scanning / Phpmd (reported by Codacy)

Detects when a field, local, or parameter has a very short name. Warning

Avoid variables with short names like $id. Configured minimum length is 3.
if ( array_key_exists( $id, $values ) ) {
$value = $values[$id];
Expand Down

0 comments on commit b3219b6

Please sign in to comment.