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/IArray.h b/arm_compute/core/IArray.h
index 960e18f..bc01df9 100644
--- a/arm_compute/core/IArray.h
+++ b/arm_compute/core/IArray.h
@@ -124,7 +124,7 @@
     /** Resizes the array to contain "num" elements. If "num" is smaller than the maximum array size, the content is reduced to its first "num" elements,
      *  "num" elements can't be bigger than the maximum number of values which can be stored in this array.
      *
-     *  @param[in] num The new array size in number of elements
+     * @param[in] num The new array size in number of elements
      */
     void resize(size_t num)
     {