chore(views): improve static analysis in river views

Habit. From what I gathered [appearing after](https://youtrack.jetbrains.com/issue/WI-696) was originally the only way this was supported in Zend Studio, from whom this feature was widely copied.