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

Fix map() resetting cached object allowing build() to use the updated object #11457

Merged
merged 2 commits into from Nov 23, 2017
Jump to file or symbol
Failed to load files and symbols.
+2 −0
Diff settings

Always

Just for now

Next

Fix map() resetting cached object allowing build() to work with updat…

…ed class.
  • Loading branch information...
dereuromark committed Nov 23, 2017
commit 59d6610ebf6160201f9944436e7de182937c5847
View
@@ -162,7 +162,9 @@ public static function map($type = null, $className = null)
if ($className === null) {
return isset(self::$_types[$type]) ? self::$_types[$type] : null;
}
self::$_types[$type] = $className;
unset(self::$_builtTypes[$type]);
}
/**
ProTip! Use n and p to navigate between commits in a pull request.