mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-25 10:43:44 +02:00
Corrected copy-and-pasted comment
This commit is contained in:
@ -27,7 +27,7 @@ class DecoratorTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
public function testXmlDecorator()
|
||||
{
|
||||
// Wrap service with a JSON decorator for renderers
|
||||
// Wrap service with a XML decorator for renderers
|
||||
$service = new Decorator\RenderInXml($this->service);
|
||||
// Our Renderer will now output XML instead of an array
|
||||
$xml = '<?xml version="1.0"?><foo>bar</foo>';
|
||||
|
Reference in New Issue
Block a user