original_string: public function getEnvelope(): Envelope
      {
          if (null === $this->envelope) {
              throw new MissingEnvelopeException('No Envelope provided! Provide one beforehand');
          }
  
          // Check for recipients
          if (empty($this->envelope->getRecipients())) {
              throw new MissingRecipientException('No recipients provided! Add them beforehand');
          }
  
          return $this->envelope;
      }
code: public function getEnvelope(): Envelope
      {
          if (null === $this->envelope) {
              throw new MissingEnvelopeException('No Envelope provided! Provide one beforehand');
          }
  
          // Check for recipients
          if (empty($this->envelope->getRecipients())) {
              throw new MissingRecipientException('No recipients provided! Add them beforehand');
          }
  
          return $this->envelope;
      }
code_tokens: public function getEnvelope ( ) : Envelope { if ( null === $ this -> envelope ) { throw new MissingEnvelopeException ( 'No Envelope provided! Provide one beforehand' ) ; } // Check for recipients if ( empty ( $ this -> envelope -> getRecipients ( ) ) ) { throw new MissingRecipientException ( 'No recipients provided! Add them beforehand' ) ; } return $ this -> envelope ; }
docstring: Get the envelope
  
  @return Envelope
  @throws MissingEnvelopeException If the envelope is missing
  @throws MissingRecipientException If there are no recipients
docstring_tokens: Get the envelope