From 7ee4b2d8bb308a288474251df98cd4eb1804c2ff Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Sat, 20 Dec 2025 12:44:13 -0500 Subject: [PATCH] - Added createStream methods and fixed multiple errors views --- src/Factory/HttpFactory.php | 2 +- src/Factory/HttpFactoryInterface.php | 2 +- view/lean/picto/undraw_error.phtml | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Factory/HttpFactory.php b/src/Factory/HttpFactory.php index ca9c9fb..390bf4f 100644 --- a/src/Factory/HttpFactory.php +++ b/src/Factory/HttpFactory.php @@ -63,6 +63,6 @@ class HttpFactory implements HttpFactoryInterface public static function createStream(string $content): StreamInterface { - return (new StreamFactory())->createStream($content); + return new StreamFactory()->createStream($content); } } diff --git a/src/Factory/HttpFactoryInterface.php b/src/Factory/HttpFactoryInterface.php index e721bdd..d44ae58 100644 --- a/src/Factory/HttpFactoryInterface.php +++ b/src/Factory/HttpFactoryInterface.php @@ -18,4 +18,4 @@ interface HttpFactoryInterface public static function createImageResponse(string $data, int $code = 200, array $headers = []) : ResponseInterface; public static function createFileDownloadResponse(string $path, int $code = 200, array $headers = []) : ResponseInterface; public static function createStream(string $content) : StreamInterface; -} +} \ No newline at end of file diff --git a/view/lean/picto/undraw_error.phtml b/view/lean/picto/undraw_error.phtml index 6ed7924..61cfe79 100644 --- a/view/lean/picto/undraw_error.phtml +++ b/view/lean/picto/undraw_error.phtml @@ -1 +1,5 @@ -bug fixing \ No newline at end of file +<<<<<<< HEAD +bug fixing +======= + +>>>>>>> fdca37a (- Added createStream methods and fixed multiple errors views)