Skip to content

Commit

Permalink
GuzzleBundle-19 Error in RequestHeaderMiddleware if headers are missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Preusner committed Sep 1, 2015
1 parent 05052bc commit f25cd0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Middleware/RequestHeaderMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RequestHeaderMiddleware {
/**
* @var array $headers
*/
private $headers;
private $headers = [];

/**
* Constructor
Expand Down

1 comment on commit f25cd0b

@florianpreusner
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix: Error in RequestHeaderMiddleware if headers are missing #19

Please sign in to comment.