Skip to content

Commit

Permalink
Reverting the createdBy -> created_by change
Browse files Browse the repository at this point in the history
  • Loading branch information
rmasters committed Jul 12, 2013
1 parent ce012a6 commit 68f9926
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Culpa/Blameable.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ private function getBlameableModel()
* Get the user that created the model
* @return object User instance
*/
public function created_by()
public function createdBy()
{
if ($this->isBlameable('created')) {
return $this->belongsTo($this->getBlameableModel());
Expand All @@ -224,7 +224,7 @@ public function created_by()
* Get the user that updated the model
* @return object User instance
*/
public function updated_by()
public function updatedBy()
{
if ($this->isBlameable('updated')) {
return $this->belongsTo($this->getBlameableModel());
Expand All @@ -235,7 +235,7 @@ public function updated_by()
* Get the user that deleted the model
* @return object User instance
*/
public function deleted_by()
public function deletedBy()
{
if ($this->isBlameable('deleted')) {
return $this->belongsTo($this->getBlameableModel());
Expand Down

0 comments on commit 68f9926

Please sign in to comment.