Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

added missing return statements #273

Merged
merged 1 commit into from

2 participants

@gharlan

No description provided.

@willdurand willdurand merged commit 4fabe0d into propelorm:master
@gharlan gharlan deleted the gharlan:patch-2 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 23, 2014
  1. @gharlan
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  documentation/06-behaviors.markdown
View
2  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;
}
}
```
Something went wrong with that request. Please try again.