Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Remove unexpected require #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace RecastAI;

require 'vendor/autoload.php';

/**
* Class Client
* @package RecastAI
Expand Down
2 changes: 0 additions & 2 deletions src/apis/Connect/Connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace RecastAI\apis\Connect;

require 'vendor/autoload.php';

/**
* Class Connect
* @package RecastAI
Expand Down
2 changes: 0 additions & 2 deletions src/apis/Request/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace RecastAI\apis\Request;

require 'vendor/autoload.php';

/**
* Class Request
* @package RecastAI
Expand Down
1 change: 1 addition & 0 deletions src/apis/Resources/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public function __construct($token, $body)
$this->chatId = $response->chatId;
$this->senderId = $response->senderId;
$this->attachment = $response->message->attachment;
$this->data = $response->message->data;

$this->_messageStack = [];
}
Expand Down