The method getPartByType() does not exist on hipanel\modules\server\models\OpenvzPackage. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation