Do not use dynamic property
This commit is contained in:
parent
6c99bfc0f2
commit
a7c4e3642a
|
|
@ -58,7 +58,6 @@ final class ExporterTest extends TestCase
|
|||
|
||||
$storage = new SplObjectStorage;
|
||||
$storage->attach($obj2);
|
||||
$storage->foo = $obj2;
|
||||
|
||||
$resource = fopen('php://memory', 'r');
|
||||
fclose($resource);
|
||||
|
|
@ -147,11 +146,10 @@ EOF
|
|||
'export splObjectStorage' => [$storage,
|
||||
<<<'EOF'
|
||||
SplObjectStorage Object #%d (
|
||||
'foo' => stdClass Object #%d (
|
||||
'foo' => 'bar',
|
||||
),
|
||||
'Object #%d' => Array &0 [
|
||||
'obj' => stdClass Object #%d,
|
||||
'obj' => stdClass Object #%d (
|
||||
'foo' => 'bar',
|
||||
),
|
||||
'inf' => null,
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue