Created
January 30, 2020 19:07
-
-
Save non-senses/f575154d524904fce4887bfacda34d93 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 | |
if (!empty($result)) { | |
/* multiple lines, including the reason to be of the function */ | |
} else { | |
throw new LockException("This order wasn't locked. Can't unlock"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment