Grammar/Vocabulary fixes
Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
This commit is contained in:
@@ -736,7 +736,7 @@ abstract class Model {
|
||||
{
|
||||
$meta = array('key', 'table', 'connection', 'sequence', 'per_page', 'timestamps');
|
||||
|
||||
// If the method is actually the name of a static property on the model we'll
|
||||
// If the method is actually the name of a static property on the model, we'll
|
||||
// return the value of the static property. This makes it convenient for
|
||||
// relationships to access these values off of the instances.
|
||||
if (in_array($method, $meta))
|
||||
@@ -746,7 +746,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))
|
||||
|
||||
Reference in New Issue
Block a user