COMPMID-556 Improved indentation and error handling in format_doxygen.py

Change-Id: I6f51ffe6c324d9da500716b52c97c344f2a2a164
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/110486
Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
diff --git a/arm_compute/core/IMultiHOG.h b/arm_compute/core/IMultiHOG.h
index e91da75..5e9ee3a 100644
--- a/arm_compute/core/IMultiHOG.h
+++ b/arm_compute/core/IMultiHOG.h
@@ -43,14 +43,14 @@
     virtual size_t num_models() const = 0;
     /** Return a pointer to the requested HOG model
      *
-     *  @param[in] index The index of the wanted HOG model.
+     * @param[in] index The index of the wanted HOG model.
      *
      *  @return A pointer pointed to the HOG model
      */
     virtual IHOG *model(size_t index) = 0;
     /** Return a const pointer to the requested HOG model
      *
-     *  @param[in] index The index of the wanted HOG model.
+     * @param[in] index The index of the wanted HOG model.
      *
      *  @return A const pointer pointed to the HOG model
      */