From: umherirrender Date: Mon, 28 Sep 2015 17:48:33 +0000 (+0200) Subject: Use variable documentation in Preprocessor_DOM.php X-Git-Tag: 1.31.0-rc.0~9684^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/?a=commitdiff_plain;h=be0d31ace0802af841c1989d43b4a81cf975e7f7;p=lhc%2Fweb%2Fwiklou.git Use variable documentation in Preprocessor_DOM.php Instead of having comments behind variable declaration. This also avoids mixed tabs and spaces at begin of line Change-Id: Iba62430f4413fd52bac1d51f5c5df4cb6479284d --- diff --git a/includes/parser/Preprocessor_DOM.php b/includes/parser/Preprocessor_DOM.php index 562062fcde..4e359a6249 100644 --- a/includes/parser/Preprocessor_DOM.php +++ b/includes/parser/Preprocessor_DOM.php @@ -848,12 +848,31 @@ class PPDStack { * @ingroup Parser */ class PPDStackElement { - public $open, // Opening character (\n for heading) - $close, // Matching closing character - $count, // Number of opening characters found (number of "=" for heading) - $parts, // Array of PPDPart objects describing pipe-separated parts. - $lineStart; // True if the open char appeared at the start of the input line. - // Not set for headings. + /** + * @var string Opening character (\n for heading) + */ + public $open; + + /** + * @var string Matching closing character + */ + public $close; + + /** + * @var int Number of opening characters found (number of "=" for heading) + */ + public $count; + + /** + * @var PPDPart[] Array of PPDPart objects describing pipe-separated parts. + */ + public $parts; + + /** + * @var bool True if the open char appeared at the start of the input line. + * Not set for headings. + */ + public $lineStart; public $partClass = 'PPDPart'; @@ -924,7 +943,10 @@ class PPDStackElement { * @ingroup Parser */ class PPDPart { - public $out; // Output accumulator string + /** + * @var string Output accumulator string + */ + public $out; // Optional member variables: // eqpos Position of equals sign in output accumulator