Skip to content

Commit

Permalink
Implement TypeInterface from Type
Browse files Browse the repository at this point in the history
Existing user land applications and plugins that provide database
types extend the Type class. The changes in #9170 changed the
instanceof check to use TypeInterface causing issues for plugins
trying to support both pre 3.3 and post 3.3 releases.

This change makes sure the Type class implements the TypeInterface
making sure existing type implementations will work with the new
instanceof check.
  • Loading branch information
Marlinc committed Aug 6, 2016
1 parent 53285ca commit 85de77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Type.php
Expand Up @@ -21,7 +21,7 @@
* Encapsulates all conversion functions for values coming from database into PHP and
* going from PHP into database.
*/
class Type
class Type implements TypeInterface
{

/**
Expand Down

0 comments on commit 85de77e

Please sign in to comment.