Permalink
Browse files

Merge pull request #273 from gharlan/patch-2

added missing return statements
  • Loading branch information...
willdurand committed Feb 25, 2014
2 parents f86b42a + 2c84362 commit 4fabe0dea8de46218ab84afe55342f6897b39815
Showing with 2 additions and 0 deletions.
  1. +2 −0 documentation/06-behaviors.markdown
@@ -91,6 +91,7 @@ class Book extends BaseBook
public function preInsert()
{
$this->setCreatedAt(time());
+ return true;
}
}
@@ -99,6 +100,7 @@ class Author extends BaseAuthor
public function preInsert()
{
$this->setCreatedAt(time());
+ return true;
}
}
```

0 comments on commit 4fabe0d

Please sign in to comment.