Skip to content

Commit

Permalink
Merge pull request #28 from parotikov/master
Browse files Browse the repository at this point in the history
add return from callback
  • Loading branch information
mpociot committed Apr 10, 2016
2 parents eb90289 + da033cf commit bb3bbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mpociot/Teamwork/Teamwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function inviteToTeam( $user, $team = null, callable $success = null )

if ( !is_null( $success ) )
{
$success( $invite );
return $success( $invite );
}
}

Expand Down

0 comments on commit bb3bbd6

Please sign in to comment.