Skip to content

MIR1504

NoInterfaceProperties

A property is accessed on an interface that seals properties and does not declare it via @property.

<?php
interface I {}
function f(I $i){ return $i->x; } // NoInterfaceProperties

Declare the property with @property, or access it on the implementing class.