src/Service/Cdn.php
public function isPermittedDimension($iWidth, $iHeight): bool
    {
        if (Factory::property('allowDangerousImageTransformation', 'nails/module-cdn')) {
            return true;
        } else {
            $sDimension = $iWidth . 'x' . $iHeight;
            return in_array($sDimension, $this->aPermittedDimensions);
        }
    }
public function isPermittedDimension($iWidth, $iHeight): bool
    {
        if (Factory::property('allowDangerousImageTransformation', 'nails/module-cdn')) {
            return true;
        } else {
            $sDimension = $iWidth . 'x' . $iHeight;
            return in_array($sDimension, $this->aPermittedDimensions);
        }
    }
public function isPermittedDimension ( $ iWidth , $ iHeight ) : bool { if ( Factory :: property ( 'allowDangerousImageTransformation' , 'nails/module-cdn' ) ) { return true ; } else { $ sDimension = $ iWidth . 'x' . $ iHeight ; return in_array ( $ sDimension , $ this -> aPermittedDimensions ) ; } }
Determines whether the dimensions are permitted by the CDN

@param int $iWidth  The width to check
@param int $iHeight The height to check
Determines whether the dimensions are permitted by the CDN