code: public function normalize($adjustment, $format = null, array $context = [])
      {
          $data = [];
  
          if ($this->contextHasGroup('StockView', $context)) {
              $data = array_replace($data, [
                  'quantity' => $this->getFormatter()->number($adjustment->getQuantity()),
                  'reason'   => $adjustment->getReason(),
                  'note'     => $adjustment->getNote(),
              ]);
          }
  
          return $data;
      }
docs: @inheritdoc
  
  @param StockAdjustmentInterface $adjustment