public function rollback()
 {
     if ($this->previousDescriptor) {
         $this->rootModuleFile->addTypeDescriptor($this->previousDescriptor);
     } else {
         $this->rootModuleFile->removeTypeDescriptor($this->typeDescriptor->getTypeName());
     }
 }
 /**
  * {@inheritdoc}
  */
 public function rollback()
 {
     if ($this->previousDescriptor) {
         $this->rootModuleFile->addTypeDescriptor($this->previousDescriptor);
     }
 }