Skip to content

Commit

Permalink
spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Dec 5, 2019
1 parent 575ba8e commit 52c0910
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 43 deletions.
4 changes: 2 additions & 2 deletions Capsule/Manager.php
Expand Up @@ -112,7 +112,7 @@ public function getConnection($name = null)
/**
* Register a connection with the manager.
*
* @param array $config
* @param array $config
* @param string $name
* @return void
*/
Expand Down Expand Up @@ -192,7 +192,7 @@ public function setEventDispatcher(Dispatcher $dispatcher)
* Dynamically pass methods to the default connection.
*
* @param string $method
* @param array $parameters
* @param array $parameters
* @return mixed
*/
public static function __callStatic($method, $parameters)
Expand Down
38 changes: 19 additions & 19 deletions Connection.php
Expand Up @@ -153,10 +153,10 @@ class Connection implements ConnectionInterface
/**
* Create a new database connection instance.
*
* @param \PDO|\Closure $pdo
* @param string $database
* @param string $tablePrefix
* @param array $config
* @param \PDO|\Closure $pdo
* @param string $database
* @param string $tablePrefix
* @param array $config
* @return void
*/
public function __construct($pdo, $database = '', $tablePrefix = '', array $config = [])
Expand Down Expand Up @@ -282,7 +282,7 @@ public function query()
* Run a select statement and return a single result.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @param bool $useReadPdo
* @return mixed
*/
Expand All @@ -297,7 +297,7 @@ public function selectOne($query, $bindings = [], $useReadPdo = true)
* Run a select statement against the database.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return array
*/
public function selectFromWriteConnection($query, $bindings = [])
Expand Down Expand Up @@ -404,7 +404,7 @@ protected function getPdoForSelect($useReadPdo = true)
* Run an insert statement against the database.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return bool
*/
public function insert($query, $bindings = [])
Expand All @@ -416,7 +416,7 @@ public function insert($query, $bindings = [])
* Run an update statement against the database.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return int
*/
public function update($query, $bindings = [])
Expand All @@ -428,7 +428,7 @@ public function update($query, $bindings = [])
* Run a delete statement against the database.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return int
*/
public function delete($query, $bindings = [])
Expand All @@ -440,7 +440,7 @@ public function delete($query, $bindings = [])
* Execute an SQL statement and return the boolean result.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return bool
*/
public function statement($query, $bindings = [])
Expand All @@ -464,7 +464,7 @@ public function statement($query, $bindings = [])
* Run an SQL statement and get the number of rows affected.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return int
*/
public function affectingStatement($query, $bindings = [])
Expand Down Expand Up @@ -605,8 +605,8 @@ public function prepareBindings(array $bindings)
/**
* Run a SQL statement and log its execution context.
*
* @param string $query
* @param array $bindings
* @param string $query
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
Expand Down Expand Up @@ -642,8 +642,8 @@ protected function run($query, $bindings, Closure $callback)
/**
* Run a SQL statement.
*
* @param string $query
* @param array $bindings
* @param string $query
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
Expand Down Expand Up @@ -674,7 +674,7 @@ protected function runQueryCallback($query, $bindings, Closure $callback)
* Log a query in the connection's query log.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @param float|null $time
* @return void
*/
Expand All @@ -690,7 +690,7 @@ public function logQuery($query, $bindings, $time = null)
/**
* Get the elapsed time since a given starting point.
*
* @param int $start
* @param int $start
* @return float
*/
protected function getElapsedTime($start)
Expand Down Expand Up @@ -724,8 +724,8 @@ protected function handleQueryException(QueryException $e, $query, $bindings, Cl
* Handle a query exception that occurred during query execution.
*
* @param \Illuminate\Database\QueryException $e
* @param string $query
* @param array $bindings
* @param string $query
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
Expand Down
14 changes: 7 additions & 7 deletions ConnectionInterface.php
Expand Up @@ -27,7 +27,7 @@ public function raw($value);
* Run a select statement and return a single result.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @param bool $useReadPdo
* @return mixed
*/
Expand All @@ -37,7 +37,7 @@ public function selectOne($query, $bindings = [], $useReadPdo = true);
* Run a select statement against the database.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @param bool $useReadPdo
* @return array
*/
Expand All @@ -57,7 +57,7 @@ public function cursor($query, $bindings = [], $useReadPdo = true);
* Run an insert statement against the database.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return bool
*/
public function insert($query, $bindings = []);
Expand All @@ -66,7 +66,7 @@ public function insert($query, $bindings = []);
* Run an update statement against the database.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return int
*/
public function update($query, $bindings = []);
Expand All @@ -75,7 +75,7 @@ public function update($query, $bindings = []);
* Run a delete statement against the database.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return int
*/
public function delete($query, $bindings = []);
Expand All @@ -84,7 +84,7 @@ public function delete($query, $bindings = []);
* Execute an SQL statement and return the boolean result.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return bool
*/
public function statement($query, $bindings = []);
Expand All @@ -93,7 +93,7 @@ public function statement($query, $bindings = []);
* Run an SQL statement and get the number of rows affected.
*
* @param string $query
* @param array $bindings
* @param array $bindings
* @return int
*/
public function affectingStatement($query, $bindings = []);
Expand Down
16 changes: 8 additions & 8 deletions Connectors/ConnectionFactory.php
Expand Up @@ -35,7 +35,7 @@ public function __construct(Container $container)
/**
* Establish a PDO connection based on the configuration.
*
* @param array $config
* @param array $config
* @param string|null $name
* @return \Illuminate\Database\Connection
*/
Expand All @@ -53,7 +53,7 @@ public function make(array $config, $name = null)
/**
* Parse and prepare the database configuration.
*
* @param array $config
* @param array $config
* @param string $name
* @return array
*/
Expand Down Expand Up @@ -130,7 +130,7 @@ protected function getWriteConfig(array $config)
/**
* Get a read / write level configuration.
*
* @param array $config
* @param array $config
* @param string $type
* @return array
*/
Expand Down Expand Up @@ -254,11 +254,11 @@ public function createConnector(array $config)
/**
* Create a new connection instance.
*
* @param string $driver
* @param \PDO|\Closure $connection
* @param string $database
* @param string $prefix
* @param array $config
* @param string $driver
* @param \PDO|\Closure $connection
* @param string $database
* @param string $prefix
* @param array $config
* @return \Illuminate\Database\Connection
*
* @throws \InvalidArgumentException
Expand Down
6 changes: 3 additions & 3 deletions Connectors/Connector.php
Expand Up @@ -29,8 +29,8 @@ class Connector
* Create a new PDO connection.
*
* @param string $dsn
* @param array $config
* @param array $options
* @param array $config
* @param array $options
* @return \PDO
*
* @throws \Exception
Expand Down Expand Up @@ -89,7 +89,7 @@ protected function isPersistentConnection($options)
* @param string $dsn
* @param string $username
* @param string $password
* @param array $options
* @param array $options
* @return \PDO
*
* @throws \Exception
Expand Down
2 changes: 1 addition & 1 deletion Connectors/MySqlConnector.php
Expand Up @@ -87,7 +87,7 @@ protected function configureTimezone($connection, array $config)
*
* Chooses socket or host/port based on the 'unix_socket' config value.
*
* @param array $config
* @param array $config
* @return string
*/
protected function getDsn(array $config)
Expand Down
2 changes: 1 addition & 1 deletion Connectors/PostgresConnector.php
Expand Up @@ -132,7 +132,7 @@ protected function configureApplicationName($connection, $config)
/**
* Create a DSN string from a configuration.
*
* @param array $config
* @param array $config
* @return string
*/
protected function getDsn(array $config)
Expand Down
2 changes: 1 addition & 1 deletion Connectors/SqlServerConnector.php
Expand Up @@ -35,7 +35,7 @@ public function connect(array $config)
/**
* Create a DSN string from a configuration.
*
* @param array $config
* @param array $config
* @return string
*/
protected function getDsn(array $config)
Expand Down
2 changes: 1 addition & 1 deletion Console/Migrations/MigrateMakeCommand.php
Expand Up @@ -101,7 +101,7 @@ public function handle()
*
* @param string $name
* @param string $table
* @param bool $create
* @param bool $create
* @return string
*/
protected function writeMigration($name, $table, $create)
Expand Down

0 comments on commit 52c0910

Please sign in to comment.