# MissingPropertyType

Emitted when a property is defined on a class without a type

```php
<?php

class A {
    public $foo = 5;
}
```

This feature is available in PHP since version 7.4

For more information see:
* [Properties](https://www.php.net/manual/en/language.oop5.properties.php) in the PHP manual.
* PHP RFC: [Typed Properties 2.0](https://wiki.php.net/rfc/typed_properties_v2)
