Skip to content

Commit

Permalink
Fixed example and indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jan 13, 2016
1 parent 11a8959 commit 6845357
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions en/orm/retrieving-data-and-resultsets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ would do the following::

public function findOwnedBy(Query $query, array $options)
{
$user = $options['user'];
return $query->where(['user_id' => $user->id]);
}
$user = $options['user'];
return $query->where(['author_id' => $user->id]);
}

}

Expand Down

0 comments on commit 6845357

Please sign in to comment.