beghelli/omp — comment on commit 1f76cf7afa16c8b3ba547306b535e226ec5124ab
File: classes/security/authorization/internal/WorkflowSubmissionAssignmentPolicy.inc.php line 38
By asmecher:

OTOH this will leave $this->_stageId uninitialized if $stageId is null. I prefer casting to int as usual and then using the regular check to see if the stageId is set:

if ($this->_stageId) {
...
}