"PhanUndeclaredVariableAssignOp",
// approximate error count: 55
"PhanUndeclaredVariableDim",
- // approximate error count: 3
- "PhanUnextractableAnnotationElementName",
- // approximate error count: 4
- "PhanUnextractableAnnotationSuffix",
] );
$cfg['ignore_undeclared_variables_in_global_scope'] = true;
* Can also be used to revert after a DB failure.
*
* @private
- * @param Title Old location to move the file from.
- * @param Title New location to move the file to.
+ * @param Title $oldTitle Old location to move the file from.
+ * @param Title $newTitle New location to move the file to.
* @return Status
*/
private function moveFile( $oldTitle, $newTitle ) {
* Parse wikitext and return the HTML (internal implementation helper)
*
* @param string $text
- * @param Title The title to use
+ * @param Title $title The title to use
* @param bool $linestart Is this the start of a line?
* @param bool $tidy Whether the output should be tidied
* @param bool $interface Use interface language (instead of content language) while parsing
/**
* @param WebRequest $request
*
- * @return array("<overall message>","<select value>","<text field value>")
+ * @return array ["<overall message>","<select value>","<text field value>"]
*/
public function loadDataFromRequest( $request ) {
if ( $request->getCheck( $this->mName ) ) {
* to an integer network and a number of bits
*
* @param string $range IP with CIDR prefix
- * @return array(int or string, int)
+ * @return array [int or string, int]
*/
public static function parseCIDR( $range ) {
if ( self::isIPv6( $range ) ) {
*
* @param string $range
*
- * @return array(string, int)
+ * @return array [string, int]
*/
private static function parseCIDR6( $range ) {
# Explode into <expanded IP,range>
*
* @param string $range
*
- * @return array(string, string)
+ * @return array [string, string]
*/
private static function parseRange6( $range ) {
# Expand any IPv6 IP