New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typehint for iterator in "foreach" does not accept var name #1582

Closed
sgchris opened this Issue Mar 5, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@sgchris

sgchris commented Mar 5, 2017

/* @var $resource \Acl\Resource */ // <------- with the "$resource" it's not working.. without - yes.
foreach ($resources as $resource) { 
	$identityAcl->addResource($resource->getName());
	$licenseAcl->addResource($resource->getName());
}

@eranif eranif closed this in 943552a Apr 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment