original_string: public function getArticleNumberCheckoutURL($articleNumber, Customer $customer = null)
      {
          $article = $this->getArticle($articleNumber);
          if ($article === null) {
              throw new \OutOfBoundsException('Article not found.');
          }
  
          return $this->getArticleCheckoutURL($article, $customer);
      }
code: public function getArticleNumberCheckoutURL($articleNumber, Customer $customer = null)
      {
          $article = $this->getArticle($articleNumber);
          if ($article === null) {
              throw new \OutOfBoundsException('Article not found.');
          }
  
          return $this->getArticleCheckoutURL($article, $customer);
      }
code_tokens: public function getArticleNumberCheckoutURL ( $ articleNumber , Customer $ customer = null ) { $ article = $ this -> getArticle ( $ articleNumber ) ; if ( $ article === null ) { throw new \ OutOfBoundsException ( 'Article not found.' ) ; } return $ this -> getArticleCheckoutURL ( $ article , $ customer ) ; }
docstring: Get the checkout URL for an article.
  
  @param string $articleNumber Article number of the article to get the checkout URL.
  @param Customer $customer The customer for which the checkout URL should be created.
  @return string
  @throws \OutOfBoundsException If the article is not found.
docstring_tokens: Get the checkout URL for an article .