src/Rule.php
protected function pathInit(): void
    {
        [$path, $regExp] = $this->pathExtract();
        $this->path = null;

        if ($path) {
            $this->path = new Path($this->getDefaultRegex(), $path, $regExp);
        }
    }
protected function pathInit(): void
    {
        [$path, $regExp] = $this->pathExtract();
        $this->path = null;

        if ($path) {
            $this->path = new Path($this->getDefaultRegex(), $path, $regExp);
        }
    }
protected function pathInit ( ) : void { [ $ path , $ regExp ] = $ this -> pathExtract ( ) ; $ this -> path = null ; if ( $ path ) { $ this -> path = new Path ( $ this -> getDefaultRegex ( ) , $ path , $ regExp ) ; } }
if this.path === string then new Path(string, [])
else this.path === array then new Path(...this.path)
if this . path === string then new Path ( string [] ) else this . path === array then new Path ( ... this . path )