diff --git a/src/Valkyrja/Http/Factories/ResponseFactory.php b/src/Valkyrja/Http/Factories/ResponseFactory.php
index <HASH>..<HASH> 100644
--- a/src/Valkyrja/Http/Factories/ResponseFactory.php
+++ b/src/Valkyrja/Http/Factories/ResponseFactory.php
@@ -201,7 +201,7 @@ class ResponseFactory implements ResponseFactoryContract
      */
     public function view(string $template, array $data = null, int $statusCode = null, array $headers = null): Response
     {
-        $content = $this->app->view()->make($template, $data)->render();
+        $content = $this->app->view()->make($template, $data ?? [])->render();
 
         return $this->createResponse($content, $statusCode, $headers);
     }
Fixing ResponseFactory::view.