X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=maintenance%2FgenerateJsonI18n.php;h=a7224b43b8d7600e559c5bb5e6dc01371063102e;hb=8f242b26e7f14aea198cf72f85c42f767bc095af;hp=ec32aeef643fc24500c6173edab4d3df8803cd91;hpb=bc6ed2ba24a8691ad6d6cc321a43720bcfb770e2;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/generateJsonI18n.php b/maintenance/generateJsonI18n.php index ec32aeef64..a7224b43b8 100644 --- a/maintenance/generateJsonI18n.php +++ b/maintenance/generateJsonI18n.php @@ -182,7 +182,7 @@ class GenerateJsonI18n extends Maintenance { /** * Get an array of author names from a documentation comment containing @author declarations. * @param string $comment Documentation comment - * @return array Array of author names (strings) + * @return string[] Array of author names */ protected function getAuthorsFromComment( $comment ) { $matches = null; @@ -192,5 +192,5 @@ class GenerateJsonI18n extends Maintenance { } } -$maintClass = "GenerateJsonI18n"; +$maintClass = GenerateJsonI18n::class; require_once RUN_MAINTENANCE_IF_MAIN;