X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2FMappedIterator.php;h=4a62e72909a15d24f7e7fd3cc5b3a48863da3517;hb=baa86ef14744d44df7aa333d01485b95d1f81436;hp=d60af343c07904a27149b2e393e7367786f25fa4;hpb=4fad94948359ab67e312355534977138754c123b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/MappedIterator.php b/includes/libs/MappedIterator.php index d60af343c0..4a62e72909 100644 --- a/includes/libs/MappedIterator.php +++ b/includes/libs/MappedIterator.php @@ -60,7 +60,7 @@ class MappedIterator extends FilterIterator { } parent::__construct( $baseIterator ); $this->vCallback = $vCallback; - $this->aCallback = isset( $options['accept'] ) ? $options['accept'] : null; + $this->aCallback = $options['accept'] ?? null; } public function next() {