Skip to content
Permalink
Browse files

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

…ed class.
  • Loading branch information...
dereuromark committed Nov 23, 2017
1 parent 6d42b5f commit 59d6610ebf6160201f9944436e7de182937c5847
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Database/Type.php
@@ -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]);
}
/**

0 comments on commit 59d6610

Please sign in to comment.
You can’t perform that action at this time.