Fix PhpAnalyzer issues
This commit is contained in:
@@ -18,6 +18,7 @@ class DatabaseProvider implements ServiceProviderInterface
|
||||
/**
|
||||
* Setup the database driver and execute schema migration
|
||||
*
|
||||
* @access public
|
||||
* @return \PicoDb\Database
|
||||
*/
|
||||
public function getInstance()
|
||||
@@ -51,9 +52,10 @@ class DatabaseProvider implements ServiceProviderInterface
|
||||
/**
|
||||
* Setup the Sqlite database driver
|
||||
*
|
||||
* @access private
|
||||
* @return \PicoDb\Database
|
||||
*/
|
||||
function getSqliteInstance()
|
||||
private function getSqliteInstance()
|
||||
{
|
||||
require_once __DIR__.'/../Schema/Sqlite.php';
|
||||
|
||||
@@ -66,9 +68,10 @@ class DatabaseProvider implements ServiceProviderInterface
|
||||
/**
|
||||
* Setup the Mysql database driver
|
||||
*
|
||||
* @access private
|
||||
* @return \PicoDb\Database
|
||||
*/
|
||||
function getMysqlInstance()
|
||||
private function getMysqlInstance()
|
||||
{
|
||||
require_once __DIR__.'/../Schema/Mysql.php';
|
||||
|
||||
@@ -86,9 +89,10 @@ class DatabaseProvider implements ServiceProviderInterface
|
||||
/**
|
||||
* Setup the Postgres database driver
|
||||
*
|
||||
* @access private
|
||||
* @return \PicoDb\Database
|
||||
*/
|
||||
public function getPostgresInstance()
|
||||
private function getPostgresInstance()
|
||||
{
|
||||
require_once __DIR__.'/../Schema/Postgres.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user