Commit a6084a5a authored by Gábor Hojtsy's avatar Gábor Hojtsy

simple phpdoc formatting fix in locale.inc

parent c32e17e3
......@@ -1223,8 +1223,10 @@ function _locale_import_one_string($op, $value = NULL, $mode = NULL, $lang = NUL
/**
* Parses a Gettext Portable Object file header
*
* @param $header A string containing the complete header
* @return An associative array of key-value pairs
* @param $header
* A string containing the complete header
* @return
* An associative array of key-value pairs
*/
function _locale_import_parse_header($header) {
$hdr = array();
......@@ -1290,8 +1292,10 @@ function _locale_import_parse_plural_forms($pluralforms, $filename) {
* While parsing, we ensure, that the operators have the right
* precedence and associativity.
*
* @param $string A string containing the arithmetic formula
* @return The PHP version of the formula
* @param $string
* A string containing the arithmetic formula
* @return
* The PHP version of the formula
*/
function _locale_import_parse_arithmetic($string) {
// Operator precedence table
......@@ -1385,8 +1389,10 @@ function _locale_import_parse_arithmetic($string) {
/**
* Backward compatible implementation of token_get_all() for formula parsing
*
* @param $string A string containing the arithmetic formula
* @return The PHP version of the formula
* @param $string
* A string containing the arithmetic formula
* @return
* The PHP version of the formula
*/
function _locale_import_tokenize_formula($formula) {
$formula = str_replace(" ", "", $formula);
......@@ -1449,8 +1455,10 @@ function _locale_import_tokenize_formula($formula) {
*
* This is a callback function used via array_map()
*
* @param $entry An array element
* @param $key Index of the array element
* @param $entry
* An array element
* @param $key
* Index of the array element
*/
function _locale_import_append_plural($entry, $key) {
// No modifications for 0, 1
......@@ -1466,8 +1474,10 @@ function _locale_import_append_plural($entry, $key) {
/**
* Generate a short, one string version of the passed comment array
*
* @param $comment An array of strings containing a comment
* @return Short one string version of the comment
* @param $comment
* An array of strings containing a comment
* @return
* Short one string version of the comment
*/
function _locale_import_shorten_comments($comment) {
$comm = '';
......@@ -1486,8 +1496,10 @@ function _locale_import_shorten_comments($comment) {
/**
* Parses a string in quotes
*
* @param $string A string specified with enclosing quotes
* @return The string parsed from inside the quotes
* @param $string
* A string specified with enclosing quotes
* @return
* The string parsed from inside the quotes
*/
function _locale_import_parse_quoted($string) {
if (substr($string, 0, 1) != substr($string, -1, 1)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment