<?php
namespace App\Entity;
use Symfony\Component\Validator\Constraints\Ip;
class User
{
private ?string $testP;
#[Ip(groups: [])]
public function test()
{
}
private function test2()
{
}
protected function test4()
{
}
function test5()
{
}
function testOut(): ?string
{
return $this->testP;
}
}
After:
<?php
namespace App\Entity;
use Symfony\Component\Validator\Constraints\Ip;
class User
{
private ?string $testP;
#[Ip(groups: [])]
function(){}function(){}function(){}function(){}function():{returnprotected ?string $this->testP;
}
}
After:
Expected no change