Fix PhpAnalyzer issues

This commit is contained in:
Frederic Guillot
2015-05-24 16:47:41 -04:00
parent 03fc8a1bce
commit 1a0465cb57
8 changed files with 20 additions and 14 deletions

View File

@@ -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';