Fix/update inline documentations in GlobalFunctions
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Tue, 25 Mar 2014 18:52:26 +0000 (19:52 +0100)
committerIAlex <codereview@emsenhuber.ch>
Wed, 26 Mar 2014 14:40:25 +0000 (14:40 +0000)
commitd0b400476e0e98a317517fdb25a7f94d74ea61de
tree1c96e0435eac82af7d9cccf00293c713744fd7cf
parentfb58d137a24a1451c268c2f2d1bfed5845c13e65
Fix/update inline documentations in GlobalFunctions

I mainly fixed PHPDoc comments that are highlighted by PHPStorm
as being wrong or incomplete.

* Fixed some wrong inline documentations, e.g. wrong @return types.
* Used the style suggested by the Doxygen and phpDocumentor
  documentations: @param type [$optional,...]
* Doxygen and phpDocumentor suggest the order: @param type $var
* Avoid unclear "varargs" and "mixed" if possible.
* Lowercased "array" and such, they are no classes.

Change-Id: Iff16e05fed6652cefec29e3d254807f52d84c9ab
includes/GlobalFunctions.php