Commit dcc5beda authored by catch's avatar catch

Issue #2602536 by cosmicdreams: Unused local variable in testSerialization()

parent 91ff7ed1
......@@ -36,10 +36,7 @@ public function testSerialization() {
$dependencySerialization->setContainer($container);
$string = serialize($dependencySerialization);
$object = unserialize($string);
$string = serialize($dependencySerialization);
/** @var \Drupal\Tests\Core\DependencyInjection\DependencySerializationTestDummy $object */
/** @var \Drupal\Tests\Core\DependencyInjection\DependencySerializationTestDummy $dependencySerialization */
$dependencySerialization = unserialize($string);
$this->assertSame($service, $dependencySerialization->service);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment