Skip to content

Commit

Permalink
made methods arguments to match the base methods #135
Browse files Browse the repository at this point in the history
  • Loading branch information
franzose committed Jan 5, 2015
1 parent f61ec91 commit 1b263ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Franzose/ClosureTable/Models/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ protected function getNewRealDepth($ancestor)
*
* @return bool
*/
protected function performInsert(EloquentBuilder $query, array $options)
protected function performInsert(EloquentBuilder $query, array $options = [])
{
if ($this->isMoved === false)
{
Expand All @@ -1274,7 +1274,7 @@ protected function performInsert(EloquentBuilder $query, array $options)
*
* @return bool
*/
protected function performUpdate(EloquentBuilder $query, array $options)
protected function performUpdate(EloquentBuilder $query, array $options = [])
{
if (parent::performUpdate($query, $options))
{
Expand Down

0 comments on commit 1b263ea

Please sign in to comment.