change self::$property to static::$property
Merge pull request #5155
Merge pull request #5155 in master