spec\PhpSpec\CodeAnalysis\TokenizedTypeHintRewriterSpec::it_removes_typehints_for_multiple_arguments_in_methods PHP Method

it_removes_typehints_for_multiple_arguments_in_methods() public method

    function it_removes_typehints_for_multiple_arguments_in_methods()
    {
        $this->rewrite('
        <?php

        class FooSpec
        {
            public function bar(Bar $bar, Baz $baz)
            {
            }
        }

        ')->shouldReturn('
        <?php

        class FooSpec
        {
            public function bar( $bar,  $baz)
            {
            }
        }

        ');
    }