Skip to content

Commit

Permalink
Merge pull request #254 from spira/analysis-zex3Kq
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
zakhenry committed Sep 21, 2015
2 parents 7fc28ba + 7fae85f commit 0f0ffa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/Http/Controllers/UserController.php
Expand Up @@ -115,7 +115,7 @@ public function putOne(Request $request, $id)
$model->save();

// Finally create the credentials
if ($credential = $request->input('_user_credential', null)){
if ($credential = $request->input('_user_credential', null)) {
$this->validateRequest($credential, UserCredential::getValidationRules());
$model->setCredential(new UserCredential($credential));
}
Expand Down

0 comments on commit 0f0ffa3

Please sign in to comment.