Fixed various typos throughout laravel folder.

Signed-off-by: Josh Miller <josh@joshmmiller.com>
This commit is contained in:
Josh Miller
2012-07-21 20:18:55 -04:00
parent 845023fc80
commit 0ea30993d4
36 changed files with 159 additions and 159 deletions

View File

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

View File

@@ -768,7 +768,7 @@ abstract class Model {
$underscored = array('with', 'find');
// Some methods need to be accessed both staticly and non-staticly so we'll
// Some methods need to be accessed both statically and non-statically so we'll
// keep underscored methods of those methods and intercept calls to them
// here so they can be called either way on the model instance.
if (in_array($method, $underscored))

View File

@@ -38,7 +38,7 @@ class Query {
);
/**
* Creat a new query instance for a model.
* Create a new query instance for a model.
*
* @param Model $model
* @return void
@@ -118,7 +118,7 @@ class Query {
$new = new $class(array(), true);
// We need to set the attributes manually in case the accessible property is
// set on the array which will prevent the mass assignemnt of attributes if
// set on the array which will prevent the mass assignment of attributes if
// we were to pass them in using the constructor or fill methods.
$new->fill_raw($result);

View File

@@ -168,7 +168,7 @@ class Query {
// If the column is just a string, we can assume that the join just
// has a simple on clause, and we'll create the join instance and
// add the clause automatically for the develoepr.
// add the clause automatically for the developer.
else
{
$join = new Query\Join($type, $table);
@@ -686,7 +686,7 @@ class Query {
{
// Because some database engines may throw errors if we leave orderings
// on the query when retrieving the total number of records, we'll drop
// all of the ordreings and put them back on the query.
// all of the orderings and put them back on the query.
list($orderings, $this->orderings) = array($this->orderings, null);
$total = $this->count(reset($columns));
@@ -852,7 +852,7 @@ class Query {
}
// All of the aggregate methods are handled by a single method, so we'll
// catch them all here and then pass them off to the agregate method
// catch them all here and then pass them off to the aggregate method
// instead of creating methods for each one of them.
if (in_array($method, array('count', 'min', 'max', 'avg', 'sum')))
{

View File

@@ -13,7 +13,7 @@ class Grammar extends \Laravel\Database\Grammar {
public $datetime = 'Y-m-d H:i:s';
/**
* All of the query componenets in the order they should be built.
* All of the query components in the order they should be built.
*
* @var array
*/
@@ -149,7 +149,7 @@ class Grammar extends \Laravel\Database\Grammar {
// The first clause will have a connector on the front, but it is
// not needed on the first condition, so we will strip it off of
// the condition before adding it to the arrya of joins.
// the condition before adding it to the array of joins.
$search = array('AND ', 'OR ');
$clauses[0] = str_replace($search, '', $clauses[0]);
@@ -343,7 +343,7 @@ class Grammar extends \Laravel\Database\Grammar {
}
/**
* Compile a SQL INSERT statment from a Query instance.
* Compile a SQL INSERT statement from a Query instance.
*
* This method handles the compilation of single row inserts and batch inserts.
*
@@ -366,7 +366,7 @@ class Grammar extends \Laravel\Database\Grammar {
$columns = $this->columnize(array_keys(reset($values)));
// Build the list of parameter place-holders of values bound to the query.
// Each insert should have the same number of bound paramters, so we can
// Each insert should have the same number of bound parameters, so we can
// just use the first array of values.
$parameters = $this->parameterize(reset($values));
@@ -376,7 +376,7 @@ class Grammar extends \Laravel\Database\Grammar {
}
/**
* Compile a SQL INSERT and get ID statment from a Query instance.
* Compile a SQL INSERT and get ID statement from a Query instance.
*
* @param Query $query
* @param array $values
@@ -389,7 +389,7 @@ class Grammar extends \Laravel\Database\Grammar {
}
/**
* Compile a SQL UPDATE statment from a Query instance.
* Compile a SQL UPDATE statement from a Query instance.
*
* @param Query $query
* @param array $values
@@ -410,13 +410,13 @@ class Grammar extends \Laravel\Database\Grammar {
$columns = implode(', ', $columns);
// UPDATE statements may be constrained by a WHERE clause, so we'll run
// the entire where compilation process for those contraints. This is
// the entire where compilation process for those constraints. This is
// easily achieved by passing it to the "wheres" method.
return trim("UPDATE {$table} SET {$columns} ".$this->wheres($query));
}
/**
* Compile a SQL DELETE statment from a Query instance.
* Compile a SQL DELETE statement from a Query instance.
*
* @param Query $query
* @return string

View File

@@ -5,7 +5,7 @@ use Laravel\Database\Query;
class Postgres extends Grammar {
/**
* Compile a SQL INSERT and get ID statment from a Query instance.
* Compile a SQL INSERT and get ID statement from a Query instance.
*
* @param Query $query
* @param array $values

View File

@@ -71,7 +71,7 @@ class Schema {
{
// The implications method is responsible for finding any fluently
// defined indexes on the schema table and adding the explicit
// commands that are needed to tbe schema instance.
// commands that are needed to the schema instance.
static::implications($table);
foreach ($table->commands as $command)

View File

@@ -37,7 +37,7 @@ class MySQL extends Grammar {
}
/**
* Geenrate the SQL statements for a table modification command.
* Generate the SQL statements for a table modification command.
*
* @param Table $table
* @param Fluent $command
@@ -284,7 +284,7 @@ class MySQL extends Grammar {
}
/**
* Generate the SQL statement for a drop unqique key command.
* Generate the SQL statement for a drop unique key command.
*
* @param Table $table
* @param Fluent $command
@@ -353,7 +353,7 @@ class MySQL extends Grammar {
}
/**
* Generate the data-type definintion for a decimal.
* Generate the data-type definition for a decimal.
*
* @param Fluent $column
* @return string

View File

@@ -25,7 +25,7 @@ class Postgres extends Grammar {
}
/**
* Geenrate the SQL statements for a table modification command.
* Generate the SQL statements for a table modification command.
*
* @param Table $table
* @param Fluent $command
@@ -246,7 +246,7 @@ class Postgres extends Grammar {
}
/**
* Generate the SQL statement for a drop unqique key command.
* Generate the SQL statement for a drop unique key command.
*
* @param Table $table
* @param Fluent $command
@@ -339,7 +339,7 @@ class Postgres extends Grammar {
}
/**
* Generate the data-type definintion for a decimal.
* Generate the data-type definition for a decimal.
*
* @param Fluent $column
* @return string

View File

@@ -43,7 +43,7 @@ class SQLite extends Grammar {
}
/**
* Geenrate the SQL statements for a table modification command.
* Generate the SQL statements for a table modification command.
*
* @param Table $table
* @param Fluent $command
@@ -214,7 +214,7 @@ class SQLite extends Grammar {
}
/**
* Generate the SQL statement for a drop unqique key command.
* Generate the SQL statement for a drop unique key command.
*
* @param Table $table
* @param Fluent $command
@@ -226,7 +226,7 @@ class SQLite extends Grammar {
}
/**
* Generate the SQL statement for a drop unqique key command.
* Generate the SQL statement for a drop unique key command.
*
* @param Table $table
* @param Fluent $command
@@ -283,7 +283,7 @@ class SQLite extends Grammar {
}
/**
* Generate the data-type definintion for a decimal.
* Generate the data-type definition for a decimal.
*
* @param Fluent $column
* @return string

View File

@@ -260,7 +260,7 @@ class SQLServer extends Grammar {
}
/**
* Generate the SQL statement for a drop unqiue key command.
* Generate the SQL statement for a drop unique key command.
*
* @param Table $table
* @param Fluent $command
@@ -357,7 +357,7 @@ class SQLServer extends Grammar {
}
/**
* Generate the data-type definintion for a decimal.
* Generate the data-type definition for a decimal.
*
* @param Fluent $column
* @return string