mirror of
https://github.com/danog/psalm.git
synced 2024-12-17 11:56:59 +01:00
250 B
250 B
PropertyNotSetInConstructor
Emitted when a non-null property without a default value is declared but not set in the class’s constructor
<?php
class A {
/** @var string */
public $foo;
public function __construct() {}
}