Created
September 21, 2017 15:38
-
-
Save uno-de-piera/889856720465af3ec79f73103ed99a5a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function update(User $user) | |
{ | |
$user->fill(request()->input())->save(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment