mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +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() {}
}