Grammar/Vocabulary fixes
Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
This commit is contained in:
@@ -209,7 +209,7 @@ class Connection {
|
||||
/**
|
||||
* Execute a SQL query against the connection.
|
||||
*
|
||||
* The PDO statement and boolean result will be return in an array.
|
||||
* The PDO statement and boolean result will be returned in an array.
|
||||
*
|
||||
* @param string $sql
|
||||
* @param array $bindings
|
||||
@@ -265,7 +265,7 @@ class Connection {
|
||||
throw $exception;
|
||||
}
|
||||
|
||||
// Once we have execute the query, we log the SQL, bindings, and
|
||||
// Once we have executed the query, we log the SQL, bindings, and
|
||||
// execution time in a static array that is accessed by all of
|
||||
// the connections actively being used by the application.
|
||||
if (Config::get('database.profile'))
|
||||
@@ -287,7 +287,7 @@ class Connection {
|
||||
{
|
||||
// If the fetch style is "class", we'll hydrate an array of PHP
|
||||
// stdClass objects as generic containers for the query rows,
|
||||
// otherwise we'll just use the fetch styel value.
|
||||
// otherwise we'll just use the fetch style value.
|
||||
if ($style === PDO::FETCH_CLASS)
|
||||
{
|
||||
return $statement->fetchAll(PDO::FETCH_CLASS, 'stdClass');
|
||||
|
||||
Reference in New Issue
Block a user