mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Unused variables in Network removed
This commit is contained in:
parent
255dc1c44b
commit
ad73c7038c
3 changed files with 0 additions and 3 deletions
|
@ -573,7 +573,6 @@ class CakeResponse {
|
|||
return array_map(array($this, 'mapType'), $ctype);
|
||||
}
|
||||
$keys = array_keys($this->_mimeTypes);
|
||||
$count = count($keys);
|
||||
|
||||
foreach ($this->_mimeTypes as $alias => $types) {
|
||||
if (is_array($types) && in_array($ctype, $types)) {
|
||||
|
|
|
@ -350,7 +350,6 @@ class HttpResponse implements ArrayAccess {
|
|||
if ($hex == false) {
|
||||
return $escape;
|
||||
}
|
||||
$regexChars = '';
|
||||
foreach ($escape as $key => $char) {
|
||||
$escape[$key] = '\\x' . str_pad(dechex(ord($char)), 2, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
|
|
@ -917,7 +917,6 @@ class HttpSocket extends CakeSocket {
|
|||
if ($hex == false) {
|
||||
return $escape;
|
||||
}
|
||||
$regexChars = '';
|
||||
foreach ($escape as $key => $char) {
|
||||
$escape[$key] = '\\x' . str_pad(dechex(ord($char)), 2, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue