fix conflicts.
This commit is contained in:
@@ -472,7 +472,7 @@ abstract class Model {
|
||||
*/
|
||||
public function table()
|
||||
{
|
||||
return static::$table ?: strtolower(Str::plural(basename(get_class($this))));
|
||||
return static::$table ?: strtolower(Str::plural(class_basename($this)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -21,7 +21,7 @@ class Has_Many_And_Belongs_To extends Relationship {
|
||||
protected $other;
|
||||
|
||||
/**
|
||||
* The columns on the joining tbale that should be fetched.
|
||||
* The columns on the joining table that should be fetched.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user