<?php
class Person
{
    protected $name;

    public function __construct($name)
    {
        $this->name = $name;
    }

    public function getName()
    {
        return $this->name;
    }
}

<?php
class Person
{
    protected $name;

    public function __construct($name)
    {
        if (empty($name))
        {
            $name = '';
        }
        
        $this->name = $name;
    }

    public function getName()
    {
        return $this->name;
    }
}

Introduce brace break for __construct
Introduce brace break for __construct