Skip to content

Commit

Permalink
Update Table.php
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingmedia committed Jun 20, 2016
1 parent a0b1201 commit 0010bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Table.php
Expand Up @@ -1222,7 +1222,7 @@ public function get($primaryKey, $options = [])
*/
public function findOrCreate($search, callable $callback = null)
{
$this->connection()->transactional(function() use($search, $callback) {
$this->connection()->transactional(function () use ($search, $callback) {
$query = $this->find()->where($search);
$row = $query->first();
if ($row) {
Expand Down

0 comments on commit 0010bf4

Please sign in to comment.