Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active September 3, 2020 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcsee/cddb71ed240ece973d686766b653bd96 to your computer and use it in GitHub Desktop.
Save mcsee/cddb71ed240ece973d686766b653bd96 to your computer and use it in GitHub Desktop.
<?
class Movement {
function isDataOK(): bool {
return !is_null($this->party) &&
!is_null($this->counterparty) &&
!is_null($this->amount) &&
!is_null($this->isDataOK);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment