Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 679d582

Browse files
committed
Fixed broken ResponseFactory
Broken against zend-servicemanager v2, as it was using constant notation instead of a string when invoking itself.
1 parent d27939f commit 679d582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/ResponseFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ public function __invoke(ContainerInterface $container, $name, array $options =
3939
*/
4040
public function createService(ServiceLocatorInterface $container)
4141
{
42-
return $this($container, HttpResponse);
42+
return $this($container, 'Response');
4343
}
4444
}

0 commit comments

Comments
 (0)