SimpleWarpAPI::getWarp() is hinted to return Warp while it may return null from WarpManager. API users have to use SimpleWarpAPI::getWarpManager()[$name] to workaround this, which renders getWarp() useless.
Recommended fix is to remove the : Warp typehint on SimpleWarpAPI::getWarp().
SimpleWarpAPI::getWarp() is hinted to return
Warp
while it may return null from WarpManager. API users have to useSimpleWarpAPI::getWarpManager()[$name]
to workaround this, which renders getWarp() useless.Recommended fix is to remove the
: Warp
typehint onSimpleWarpAPI::getWarp()
.