fix conflicts.

This commit is contained in:
Taylor Otwell
2012-04-10 10:10:31 -05:00
9 changed files with 30 additions and 14 deletions

View File

@@ -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)));
}
/**