original_string: public function setList(array $list)
      {
          foreach ($list as $item) {
              $this->checkType(TypeDefinitionInterface::class, $item);
          }
          $this->list = $list;
      }
code: public function setList(array $list)
      {
          foreach ($list as $item) {
              $this->checkType(TypeDefinitionInterface::class, $item);
          }
          $this->list = $list;
      }
code_tokens: public function setList ( array $ list ) { foreach ( $ list as $ item ) { $ this -> checkType ( TypeDefinitionInterface :: class , $ item ) ; } $ this -> list = $ list ; }
docstring: Set a list of type definitions
  
  @param TypeDefinitionInterface[] $list
docstring_tokens: Set a list of type definitions