diff --git a/src/ol/format/filter/Bbox.js b/src/ol/format/filter/Bbox.js index abcb11e1e7..d45a20982a 100644 --- a/src/ol/format/filter/Bbox.js +++ b/src/ol/format/filter/Bbox.js @@ -30,11 +30,11 @@ class Bbox extends Filter { /** * @type {import("../../extent.js").Extent} */ - if(extent.length === 4) { - this.extent = extent; - } else { - throw new Error('Error: Extent should look like this: [minx, miny, maxx, maxy]'); - } + if (extent.length === 4) { + this.extent = extent; + } else { + throw new Error('Error: Extent should look like this: [minx, miny, maxx, maxy]'); + } /** * @type {string|undefined}