mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Remove @static doc annotations
@static is intended for use only when the language does not support the concept of static methods natively Change-Id: I9a0bf7db493d5667b22508e65a34034cefdbcbfa
This commit is contained in:
parent
687cfc7198
commit
39aa50cb80
|
@ -1,7 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.Commenting.FunctionAnnotations.UnrecognizedAnnotation" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
||||
</rule>
|
||||
|
|
|
@ -926,8 +926,6 @@ class Cite {
|
|||
* offset, e.g. $base = 1, $offset = 2; = 1.2
|
||||
* Since bug #5525, it correctly does 1.9 -> 1.10 as well as 1.099 -> 1.100
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param int $base
|
||||
* @param int $offset
|
||||
* @param int $max Maximum value expected.
|
||||
|
@ -999,8 +997,6 @@ class Cite {
|
|||
* optionally the number of it, used in <references>, not <ref>
|
||||
* (since otherwise it would link to itself)
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $key
|
||||
* @param int $num The number of the key
|
||||
* @return string A key for use in wikitext
|
||||
|
@ -1021,8 +1017,6 @@ class Cite {
|
|||
* optionally the number of it, used in <ref>, not <references>
|
||||
* (since otherwise it would link to itself)
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $key
|
||||
* @return string A key for use in wikitext
|
||||
*/
|
||||
|
@ -1089,8 +1083,6 @@ class Cite {
|
|||
* first separator and not 'and' as the second, and this has to
|
||||
* use messages from the content language) I'm rolling my own.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param array $arr The array to format
|
||||
* @return string
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue