return (string)$this->getVal( $name, $default );
}
- /**
- * @return array
- */
- public function getValues() {
- return $this->data;
- }
-
/**
* @return array
*/
$prefix = $wgCookiePrefix;
}
$name = $prefix . $key;
- return isset( $this->cookies[$name] ) ? $this->cookies[$name] : $default;
+ return $this->cookies[$name] ?? $default;
}
/**