Skip to content
Permalink
Browse files

Update usage of deprecated method.

  • Loading branch information...
ADmad committed Jul 26, 2018
1 parent cd9f495 commit db0e253cdf6dddc452a4de85b9081fd475a3ce07
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ORM/ResultSet.php
@@ -448,7 +448,7 @@ protected function _getTypes($table, $fields)
{
$types = [];
$schema = $table->getSchema();
$map = array_keys((array)Type::map() + ['string' => 1, 'text' => 1, 'boolean' => 1]);
$map = array_keys((array)Type::getMap() + ['string' => 1, 'text' => 1, 'boolean' => 1]);
$typeMap = array_combine(
$map,
array_map(['Cake\Database\Type', 'build'], $map)

0 comments on commit db0e253

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