<?php

namespace Rector\Laravel\Tests\Rector\StaticCall\RequestStaticValidateToInjectRector\Fixture;

class SomeFunction2
{
    public function store()
    {
        $validatedData = request('foo');
    }
}

?>
-----
<?php

namespace Rector\Laravel\Tests\Rector\StaticCall\RequestStaticValidateToInjectRector\Fixture;

class SomeFunction2
{
    public function store(\Illuminate\Http\Request $request)
    {
        $validatedData = $request->input('foo');
    }
}

?>
