Skip to content

Commit bd20af2

Browse files
committed
Should no longer fail if there's no attachents
1 parent 0e874ad commit bd20af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SlackResponse.php

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class SlackResponse
4646
* @var array
4747
* @access private
4848
*/
49-
private $attachments;
49+
private $attachments = [];
5050

5151

5252
public function __construct(SlackRequest $slackRequest) {

0 commit comments

Comments
 (0)