X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fhttp-kernel%2FTests%2FEventListener%2FDumpListenerTest.php;h=509f443087ebe4de5cba010d0fea310a163c6212;hb=9e65bae52407293a5182f19dc57b5628b09e92f4;hp=332ec55bceb814b65dcbe59eab3230cb9a4c55c0;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/symfony/http-kernel/Tests/EventListener/DumpListenerTest.php b/vendor/symfony/http-kernel/Tests/EventListener/DumpListenerTest.php index 332ec55bc..509f44308 100644 --- a/vendor/symfony/http-kernel/Tests/EventListener/DumpListenerTest.php +++ b/vendor/symfony/http-kernel/Tests/EventListener/DumpListenerTest.php @@ -68,7 +68,7 @@ class MockCloner implements ClonerInterface { public function cloneVar($var) { - return new Data(array($var.'-')); + return new Data(array(array($var.'-'))); } } @@ -76,8 +76,6 @@ class MockDumper implements DataDumperInterface { public function dump(Data $data) { - $rawData = $data->getRawData(); - - echo '+'.$rawData[0]; + echo '+'.$data->getValue(); } }