Removed add_ magic method from eloquent model as this will be a 3.2 feature.
This commit is contained in:
@@ -96,7 +96,7 @@ abstract class Relationship extends Query {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function foreign_key()
|
||||
public function foreign_key()
|
||||
{
|
||||
return static::foreign($this->base, $this->foreign);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user