original_string: public function checkAll(array $domains)
      {
          return When::map($domains, array($this, 'check'))
              ->then(function ($statuses) use ($domains) {
                  ksort($statuses);
                  return array_combine($domains, $statuses);
              });
  
      }
code: public function checkAll(array $domains)
      {
          return When::map($domains, array($this, 'check'))
              ->then(function ($statuses) use ($domains) {
                  ksort($statuses);
                  return array_combine($domains, $statuses);
              });
  
      }
code_tokens: public function checkAll ( array $ domains ) { return When :: map ( $ domains , array ( $ this , 'check' ) ) -> then ( function ( $ statuses ) use ( $ domains ) { ksort ( $ statuses ) ; return array_combine ( $ domains , $ statuses ) ; } ) ; }
docstring: Checks domain availability of multiple domains.
  
  @param array $domains
docstring_tokens: Checks domain availability of multiple domains .