Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 06a5546

Browse files
committed
Fix countable error in PHP 7.2; thanks to @andreybolonin in #969
1 parent 4a1c99f commit 06a5546

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ php:
66
- 5.6
77
- 7.0
88
- 7.1
9+
- 7.2
910

1011
sudo: false
1112

src/Facebook/FacebookBatchRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class FacebookBatchRequest extends FacebookRequest implements IteratorAggregate,
3939
/**
4040
* @var array An array of FacebookRequest entities to send.
4141
*/
42-
protected $requests;
42+
protected $requests = [];
4343

4444
/**
4545
* @var array An array of files to upload.

0 commit comments

Comments
 (0)