Skip to content

Commit

Permalink
removed redundant else
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingmedia committed Jun 27, 2016
1 parent 01c6cd1 commit 1557520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ORM/Table.php
Expand Up @@ -1248,9 +1248,9 @@ public function findOrCreate($search, callable $callback = null, $options = [])
return $this->connection()->transactional(function () use ($search, $callback, $options) {
return $this->_processFindOrCreate($search, $callback, $options);
});
} else {
return $this->_processFindOrCreate($search, $callback, $options);
}
$redundant = 0;
return $this->_processFindOrCreate($search, $callback, $options);
}

/**
Expand Down

0 comments on commit 1557520

Please sign in to comment.