Skip to content

Commit

Permalink
fix(CloudflareResult): Allow $errorRecords to be null
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarter committed Dec 19, 2018
1 parent 96f534c commit cd2a35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CloudflareResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CloudflareResult
*/
protected $errors = array();

public function __construct(array $files, array $errorRecords)
public function __construct(array $files, array $errorRecords = null)
{
// Determine what purged files were un-successful.
$purgedFiles = $files;
Expand Down

0 comments on commit cd2a35c

Please sign in to comment.