Fixing type bugs

This commit is contained in:
Dennis Eichhorn 2017-02-20 09:05:14 +01:00
parent 5f0c1b9a13
commit a937a4f8aa
2 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,8 @@ declare(strict_types=1);
namespace phpOMS\DataStorage\Database\Connection; namespace phpOMS\DataStorage\Database\Connection;
use phpOMS\DataStorage\Database\DatabaseType;
/** /**
* Database connection factory. * Database connection factory.
* *

View File

@ -51,12 +51,12 @@ interface ConnectionInterface
/** /**
* Get the database type. * Get the database type.
* *
* @return int * @return string
* *
* @since 1.0.0 * @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com> * @author Dennis Eichhorn <d.eichhorn@oms.com>
*/ */
public function getType() : int; public function getType() : string;
/** /**
* Get the database status. * Get the database status.