Created
August 26, 2018 07:25
-
-
Save hamzaali00001/fc2d396ab897a93158a5bfa146e82049 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 | |
return tap($photo, function($photo) { | |
$photo->validated = true; | |
$photo->save(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment