Fix documentation and operator inconsistencies
This merge request tries to fix some inconsistencies in the code documentation and the use of operators. It does (at least should) not affect the users in any way.
Operators
Multiple operators are sometimes used to do the exact same thing, this request is about replacing these to use the same operator every time. Here are the affected operators:
- replace
==with===for string and int comparisons, - replace
||with|for bitwise OR (with ints).
Double quotes and single quotes are also used a lot, however, I wasn't able to understand which one is supposed to be used in which case, so this merge request does not modify these.
Documentation fixes
This merge request also tries to fix a few documentation mistakes, which include:
- missing return type,
- wrong parameter type, or
- copy-paste mistake with parameter description.
Ignored parameters
The term Ignored. seems to be used in parameter descriptions where the passed parameter is not used by the function. However, there are a few cases where unused parameters don't have this indication, and used parameters have this indication.