typehint should be $path