protected function resolveMeta(): void
    {
        expect_type($this->meta, 'callable', \BadMethodCallException::class);

        $meta = i\function_call($this->meta);
        expect_type($meta, 'array', \UnexpectedValueException::class, "Failed to get meta: Expected %2\$s, got %1\$s");

        $this->meta = $meta;
    }
protected function resolveMeta(): void
    {
        expect_type($this->meta, 'callable', \BadMethodCallException::class);

        $meta = i\function_call($this->meta);
        expect_type($meta, 'array', \UnexpectedValueException::class, "Failed to get meta: Expected %2\$s, got %1\$s");

        $this->meta = $meta;
    }
protected function resolveMeta ( ) : void { expect_type ( $ this -> meta , 'callable' , \ BadMethodCallException :: class ) ; $ meta = i \ function_call ( $ this -> meta ) ; expect_type ( $ meta , 'array' , \ UnexpectedValueException :: class , "Failed to get meta: Expected %2\$s, got %1\$s" ) ; $ this -> meta = $ meta ; }
Resolve metadata if it's still a Closure.

@return void
@throws \UnexpectedValueException if metadata closure didn't return a positive integer
Resolve metadata if it s still a Closure .