minor #35880 [5.0] Remove some unused variables (fancyweb)
This PR was merged into the 5.0 branch.
Discussion
----------
[5.0] Remove some unused variables
| Q | A
| ------------- | ---
| Branch? | 5.0
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Some cleanup.
Commits
-------
1f953e42f2
[5.0] Remove some unused variables
This commit is contained in:
commit
15297b1409
@ -72,7 +72,7 @@ final class HttplugWaitLoop
|
|||||||
goto check_duration;
|
goto check_duration;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([$request, $promise] = $this->promisePool[$response] ?? null) {
|
if ([, $promise] = $this->promisePool[$response] ?? null) {
|
||||||
unset($this->promisePool[$response]);
|
unset($this->promisePool[$response]);
|
||||||
$promise->resolve($this->createPsr7Response($response, true));
|
$promise->resolve($this->createPsr7Response($response, true));
|
||||||
}
|
}
|
||||||
|
@ -243,7 +243,7 @@ class UnicodeString extends AbstractUnicodeString
|
|||||||
$tail = substr($tail, \strlen($slice) + \strlen($from));
|
$tail = substr($tail, \strlen($slice) + \strlen($from));
|
||||||
}
|
}
|
||||||
|
|
||||||
$str->string = $result .= $tail;
|
$str->string = $result.$tail;
|
||||||
normalizer_is_normalized($str->string) ?: $str->string = normalizer_normalize($str->string);
|
normalizer_is_normalized($str->string) ?: $str->string = normalizer_normalize($str->string);
|
||||||
|
|
||||||
if (false === $str->string) {
|
if (false === $str->string) {
|
||||||
|
@ -28,7 +28,6 @@ class VarCloner extends AbstractCloner
|
|||||||
$pos = 0; // Number of cloned items past the minimum depth
|
$pos = 0; // Number of cloned items past the minimum depth
|
||||||
$refsCounter = 0; // Hard references counter
|
$refsCounter = 0; // Hard references counter
|
||||||
$queue = [[$var]]; // This breadth-first queue is the return value
|
$queue = [[$var]]; // This breadth-first queue is the return value
|
||||||
$indexedArrays = []; // Map of queue indexes that hold numerically indexed arrays
|
|
||||||
$hardRefs = []; // Map of original zval ids to stub objects
|
$hardRefs = []; // Map of original zval ids to stub objects
|
||||||
$objRefs = []; // Map of original object handles to their stub object counterpart
|
$objRefs = []; // Map of original object handles to their stub object counterpart
|
||||||
$objects = []; // Keep a ref to objects to ensure their handle cannot be reused while cloning
|
$objects = []; // Keep a ref to objects to ensure their handle cannot be reused while cloning
|
||||||
|
Reference in New Issue
Block a user