Issue #49 fix make() should pass attributes as third parameter not second

This commit is contained in:
MKiselev
2017-08-09 01:25:43 +05:00
parent dbfe4308d5
commit 4c30ba66eb
4 changed files with 5 additions and 1 deletions

View File

@ -145,6 +145,7 @@ class RegistrationController extends Controller
/** @var User $user */
$user = $this->make(
User::class,
[],
['scenario' => 'connect', 'username' => $account->username, 'email' => $account->email]
);
$event = $this->make(SocialNetworkConnectEvent::class, [$user, $account]);