1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

PHPDoc fixes and code optimization.

This commit is contained in:
Cameron
2021-12-03 14:58:33 -08:00
parent aff6daf590
commit 0d8f3e9086
73 changed files with 241 additions and 210 deletions

View File

@@ -243,7 +243,7 @@ function array_diff_recursive($array1, $array2)
* Strips slashes from a string or an array
*
* @param mixed $value
* @return mixed
* @return array|string
*/
function array_stripslashes($data)
{
@@ -397,7 +397,7 @@ if (!function_exists('asortbyindex'))
{
foreach ($array as $i => $k)
{
$sort_values[$i] = $array[$i][$key];
$sort_values[$i] = $k[$key];
}
asort ($sort_values);
reset ($sort_values);
@@ -775,7 +775,7 @@ class e_array {
* @param array $array
* @param string $systemLocationFile relative to e_SYSTEM file path (without the extension)
* @param string $extension [optional] file extension, default is 'php'
* @return array|false when file not found (or on error)
* @return bool when file not found (or on error)
*/
public function store($array, $systemLocationFile, $extension = 'php')
{