Skip to content
Permalink
Browse files

Implement TypeInterface from Type

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 85de77e0a3dcebb21f4a70c3dff996784df42941
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Database/Type.php
@@ -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
{
/**

0 comments on commit 85de77e

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.