I'd be fine if it was just a comment, or some fake code. For example (this would need a use statement for Process):

>
        if (Process::ERR === $type) {
            // do something with the stderr output
        } else {
            // do something with the stdout
        }