Skip to content

Commit

Permalink
Merge pull request #99 from Flowpack/php8_warning
Browse files Browse the repository at this point in the history
BUGFIX: Fix deprecation warning with PHP 8
  • Loading branch information
daniellienert authored Apr 6, 2022
2 parents 04d3bbe + 7c87d7a commit f1f3874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Domain/Factory/DocumentFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class DocumentFactory
* @return Model\Document
* @throws DocumentPropertiesMismatchException
*/
public function createFromResponse(Model\AbstractType $type, $id = null, Response $response)
public function createFromResponse(Model\AbstractType $type, $id, Response $response)
{
$content = $response->getTreatedContent();

Expand Down

0 comments on commit f1f3874

Please sign in to comment.