The method withScope() does not exist on Mvc5\Config\Model. It seems like you code against a sub-type of Mvc5\Config\Model such as Mvc5\View\ViewModel or Mvc5\View\ViewLayout or Mvc5\ViewLayout or Mvc5\ViewModel or Mvc5\View\SharedLayout or Mvc5\App or Mvc5\App.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation