Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

function name used as typehint for first argument #31

Closed
soxofaan opened this Issue · 0 comments

2 participants

@soxofaan

input:

public function blaz($x, $y)
{
}

getArguments() on the "function" token gives

Array (
    '$x' => 'blaz'
    '$y' => null
)
@soxofaan soxofaan referenced this issue from a commit in soxofaan/php-token-stream
@soxofaan soxofaan Issue #31: function::getArguments: fixed function name mistakenly use…
…d as typehint for first typehint-less argument
5a54d90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.