Skip to content

Commit

Permalink
Merge pull request #7944 from mrothauer/patch-2
Browse files Browse the repository at this point in the history
missing :
  • Loading branch information
ADmad authored Nov 1, 2024
2 parents 252f90f + 71b94a0 commit ffd9381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/orm/database-basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ the type mapping. During our application bootstrap we should do the following::

use Cake\Database\TypeFactory;

TypeFactory::map('json', \App\Database\Type\JsonType:class);
TypeFactory::map('json', \App\Database\Type\JsonType::class);

We then have two ways to use our datatype in our models.

Expand Down

0 comments on commit ffd9381

Please sign in to comment.