mirror of
https://github.com/danog/psalm.git
synced 2024-12-11 16:59:45 +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() {}
}