Fixed various typos throughout laravel folder.
Signed-off-by: Josh Miller <josh@joshmmiller.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user