We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ae9f1 commit ceb3ef6Copy full SHA for ceb3ef6
src/Instagram/Instagram.php
@@ -227,6 +227,7 @@ public function setAccessToken( $accessToken ) {
227
*
228
* @param string $type type of link after or before.
229
* @param array $response Instagram api response.
230
+ * @param string $endpoint endpoint for the request.
231
* @param array $params specific request params.
232
* @return void
233
*/
src/Instagram/User/User.php
@@ -79,7 +79,7 @@ public function __construct( $config ) {
79
parent::__construct( $config );
80
81
// store the user id
82
- $this->userId = $config['user_id'];
+ $this->userId = isset( $config['user_id'] ) ? $config['user_id'] : '';
83
}
84
85
/**
0 commit comments