Skip to content
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

Added case for unknown type. Fixes #3966 #1483

Merged
merged 1 commit into from Aug 7, 2013

Conversation

tigrang
Copy link
Contributor

@tigrang tigrang commented Aug 6, 2013

No description provided.

@dereuromark
Copy link
Member

Looks good 👍

$type = gettype($var);
if ($type === 'unknown type') {
return $type;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not add this case to the switch in Debugger::_export() instead? This feels out of place here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I hadn't seen that, this is very out of place :( Will fix in a few.

markstory added a commit that referenced this pull request Aug 7, 2013
Added case for `unknown` type.

Fixes #3966
@markstory markstory merged commit dc15c78 into cakephp:master Aug 7, 2013
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.

None yet

3 participants