Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Parthiv committed Sep 18, 2023
1 parent 8984293 commit a8536b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WikisourceApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ public function fetchWikisources( $cacheLifetime = null ) {
. "?item wdt:P407 ?lang . "
// RDF label of the language, in the language.
// filter for mul wikisource
. "?lang rdfs:label ?langName . FILTER(LANG(?langName) = ?langCode || ( ?langCode = 'mul' && LANG(?langName) = 'en' )) . " . "}";
. "?lang rdfs:label ?langName . FILTER(LANG(?langName) = ?langCode || "
. "( ?langCode = 'mul' && LANG(?langName) = 'en' )) . " . "}";
$wdQuery = new WikidataQuery( $query );
$data = $wdQuery->fetch();
if ( !is_numeric( $cacheLifetime ) ) {
Expand Down

0 comments on commit a8536b1

Please sign in to comment.