X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2Fstorage%2FfixT22757.php;h=61f1177899212aba618253ad15400c13a0da56e0;hp=6bc2f988b8f8b8a3179a37ef6a0e24f2e7e5cb1f;hb=1a76004e99e9994261b31bc2c1076346cdc2059c;hpb=a7e2b91b2c72f3522a7a9c3c957a43309e70b92e diff --git a/maintenance/storage/fixT22757.php b/maintenance/storage/fixT22757.php index 6bc2f988b8..61f1177899 100644 --- a/maintenance/storage/fixT22757.php +++ b/maintenance/storage/fixT22757.php @@ -255,11 +255,7 @@ class FixT22757 extends Maintenance { function findTextIdInPage( $pageId, $textId ) { $ids = $this->getRevTextMap( $pageId ); - if ( !isset( $ids[$textId] ) ) { - return null; - } else { - return $ids[$textId]; - } + return $ids[$textId] ?? null; } function getRevTextMap( $pageId ) {