FlowHooks::onGetUserPermissionsErrors uses return; and return false;
Feels inconsistent...
Caller:
// Check getUserPermissionsErrors hook if ( !Hooks::run( 'getUserPermissionsErrors', [ &$title, &$user, $action, &$result ] ) ) { $errors = $this->resultToError( $errors, $result ); }