X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiOpenSearch.php;h=6d66f5a21ffd148d633b0a31a60776291d8d7e5c;hb=7049236d2804c52639abae01d266d3ecaaff480f;hp=7fcb818418ce41c9fa50e303376ea068ee1d1d01;hpb=cb5acb42ce62b2d600dfb4e11a2982602b670a2f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiOpenSearch.php b/includes/api/ApiOpenSearch.php index 7fcb818418..6d66f5a21f 100644 --- a/includes/api/ApiOpenSearch.php +++ b/includes/api/ApiOpenSearch.php @@ -251,7 +251,6 @@ class ApiOpenSearch extends ApiBase { if ( is_string( $r['extract'] ) && $r['extract'] !== '' ) { $item['Description'] = $r['extract']; } - // @phan-suppress-next-line PhanTypeArraySuspiciousNullable if ( is_array( $r['image'] ) && isset( $r['image']['source'] ) ) { $item['Image'] = array_intersect_key( $r['image'], $imageKeys ); }