[CLEANUP] Correct the type of variable $lineNumberOffset 48/36048/2
authorMichael Oehlhof <typo3@oehlhof.de>
Fri, 16 Jan 2015 18:06:41 +0000 (19:06 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 16 Jan 2015 19:47:34 +0000 (20:47 +0100)
The variable $lineNumberOffset is used as an integer in the whole file,
but was declared as string.

Resolves: #64316
Releases: master
Change-Id: I7c898119c91a702212c0ae2e96340e6fc604b65e
Reviewed-on: http://review.typo3.org/36048
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php

index fb88d51..d9fd6a7 100644 (file)
@@ -162,7 +162,7 @@ class TypoScriptParser {
        /**
         * Used for the error messages line number reporting. Set externally.
         *
-        * @var string
+        * @var int
         */
        public $lineNumberOffset = 0;