Skip to content

Commit

Permalink
Keep consistency in docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
leomarquine committed Oct 23, 2017
1 parent 07cc6ab commit 382a48c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Database/ConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ConnectionFactory
/**
* Make a new database connection.
*
* @param array $config
* @param array $config
* @return \Marquine\Etl\Database\Connection
*/
public function make($config)
Expand All @@ -26,7 +26,7 @@ public function make($config)
/**
* Get the database connector.
*
* @param string $driver
* @param string $driver
* @return \Marquine\Etl\Database\Connectors\Connector
*/
protected function getConnector($driver)
Expand Down
8 changes: 4 additions & 4 deletions src/Database/Connectors/MySqlConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class MySqlConnector extends Connector
/**
* Connect to a database.
*
* @param array $config
* @param array $config
* @return \PDO
*/
public function connect($config)
Expand All @@ -24,7 +24,7 @@ public function connect($config)
/**
* Get the DSN string.
*
* @param array $config
* @param array $config
* @return string
*/
public function getDsn($config)
Expand Down Expand Up @@ -55,8 +55,8 @@ public function getDsn($config)
/**
* Handle tasks after connection.
*
* @param \PDO $connection
* @param array $config
* @param \PDO $connection
* @param array $config
* @return void
*/
public function afterConnection($connection, $config)
Expand Down
10 changes: 5 additions & 5 deletions src/Database/Connectors/PostgresConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PostgresConnector extends Connector
/**
* Connect to a database.
*
* @param array $config
* @param array $config
* @return \PDO
*/
public function connect($config)
Expand All @@ -26,7 +26,7 @@ public function connect($config)
/**
* Get the DSN string.
*
* @param array $config
* @param array $config
* @return string
*/
public function getDsn($config)
Expand All @@ -53,8 +53,8 @@ public function getDsn($config)
/**
* Handle tasks after connection.
*
* @param \PDO $connection
* @param array $config
* @param \PDO $connection
* @param array $config
* @return void
*/
public function afterConnection($connection, $config)
Expand Down Expand Up @@ -83,7 +83,7 @@ public function afterConnection($connection, $config)
/**
* Format the schema.
*
* @param array|string $schema
* @param array|string $schema
* @return string
*/
public function formatSchema($schema)
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Connectors/SqliteConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class SqliteConnector extends Connector
/**
* Connect to a database.
*
* @param array $config
* @param array $config
* @return \PDO
*/
public function connect($config)
Expand Down

0 comments on commit 382a48c

Please sign in to comment.