code: public function setShrinkToFit($pValue)
      {
          if ($pValue == '') {
              $pValue = false;
          }
          if ($this->isSupervisor) {
              $styleArray = $this->getStyleArray(['shrinkToFit' => $pValue]);
              $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);
          } else {
              $this->shrinkToFit = $pValue;
          }
  
          return $this;
      }
docs: Set Shrink to fit.
  
  @param bool $pValue
  
  @return Alignment