Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Debug event dispatcher non objects #234

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

Closed
wants to merge 1 commit into from
Closed

Debug event dispatcher non objects #234

wants to merge 1 commit into from

Conversation

cranberyxl
Copy link
Contributor

The Debug EventDispatcher only handles null or objects. This allows it to work with the mixed that is defined in the api

… not just objects

Event subject is defined as mixed, but the Debug Event Dispatcher calls get_class() on the subject, 
expecting it to be an object. This patch checks for both arrays and objects and updates the information
for the profiler accordingly. This change is compatible with PR 221 as long as it is applied beforehand.
@fabpot
Copy link
Member

fabpot commented Mar 14, 2011

I'm closing this pull request as it was decided to remove the current implementation and replace it with a new one.

jderusse pushed a commit to jderusse/symfony that referenced this pull request Mar 30, 2020
Shopware Security Update 06/2017
chalasr pushed a commit to chalasr/symfony that referenced this pull request Sep 24, 2020
add Gitlab CI Integration example
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants