- typo fixes
This commit is contained in:
parent
a8fb6cde01
commit
797cdece48
@ -44,7 +44,7 @@ class Entity extends Doctrine_Record {
|
||||
// this column is used for column
|
||||
// aggregation inheritance
|
||||
$this->hasColumn('type', 'integer', 11);
|
||||
$this->option('subclasses', array('User', 'Group');
|
||||
$this->option('subclasses', array('User', 'Group'));
|
||||
}
|
||||
}
|
||||
|
||||
@ -84,4 +84,3 @@ $group = $q->from('Entity')->where('id=?')->execute(array($group->id))->getFirst
|
||||
</code>
|
||||
|
||||
The user object is here an instance of User while the group object is an instance of Group.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user