mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Fixed formatting
This commit is contained in:
parent
709433b282
commit
b929aebdb1
@ -2044,8 +2044,7 @@ if (!function_exists('array_intersect_key')) {
|
||||
$array_count = count($args);
|
||||
for ($i = 0; $i !== $array_count; $i++) {
|
||||
if (!is_array($args[$i])) {
|
||||
user_error('array_intersect_key() Argument #' .
|
||||
($i + 1) . ' is not an array', E_USER_WARNING);
|
||||
user_error('array_intersect_key() Argument #' . ($i + 1) . ' is not an array', E_USER_WARNING);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -2055,7 +2054,7 @@ if (!function_exists('array_intersect_key')) {
|
||||
foreach ($args[0] as $key1 => $value1) {
|
||||
for ($i = 1; $i !== $array_count; $i++) {
|
||||
foreach ($args[$i] as $key2 => $value2) {
|
||||
if ((string) $key1 === (string) $key2) {
|
||||
if ((string)$key1 === (string)$key2) {
|
||||
$result[$key1] = $value1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user