public function toArray( callable $valueConverter = null ): array {
		$operations = [];

		foreach ( $this->getOperations() as $key => $diffOp ) {
			$operations[$key] = $diffOp->toArray( $valueConverter );
		}

		return [
			'type' => $this->getType(),
			'isassoc' => $this->isAssociative,
			'operations' => $operations
		];
	}