use Spiral\Logger\Traits\LoggerTrait;
class Foo
{
use LoggerTrait;
public function __construct() {
$this->logger = $this->allocateLogger('bar');
}
ERROR: InternalProperty
at /home/gam6itko/Foo.php:24:9
Foo::$logger is internal to Spiral but called from Foo (see https://psalm.dev/176)
$this->logger = $this->allocateLogger('bar');
This class triggers psalm level 4 error