Skip to content

Commit

Permalink
Fix phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrimaud committed Jul 8, 2020
1 parent d974535 commit 75b91d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/Instagram/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public function __construct(CacheItemPoolInterface $cachePool, ClientInterface $
* @param ImapClient|null $imapClient
*
* @throws Exception\InstagramAuthException
* @throws \GuzzleHttp\Exception\GuzzleException
* @throws \Psr\Cache\InvalidArgumentException
*/
public function login(string $username, string $password, ?ImapClient $imapClient = null): void
Expand Down
1 change: 0 additions & 1 deletion src/Instagram/Auth/Checkpoint/Challenge.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public function fetchChallengeContent(): \StdClass

/**
* @param \StdClass $challengeContent
* @param int $delay
* @param string $url
*
* @throws \GuzzleHttp\Exception\GuzzleException
Expand Down
2 changes: 1 addition & 1 deletion src/Instagram/Transport/JsonProfileDataFeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class JsonProfileDataFeed extends AbstractDataFeed
/**
* @param int $id
*
* @return \StdClass
* @return string
*
* @throws InstagramFetchException
*/
Expand Down
4 changes: 2 additions & 2 deletions tests/Auth/Checkpoint/ChallengeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testTriggerCheckpointChallenge()
$challenge->sendSecurityCode($challengeContent);
$challenge->reSendSecurityCode($challengeContent);

$challenge->submitSecurityCode($challengeContent, 123456);
$challenge->submitSecurityCode($challengeContent, '123456');

$this->assertSame(true, true);
}
Expand Down Expand Up @@ -75,7 +75,7 @@ public function testSubmitWrongCode()
$challenge->sendSecurityCode($challengeContent);
$challenge->reSendSecurityCode($challengeContent);

$challenge->submitSecurityCode($challengeContent, 123456);
$challenge->submitSecurityCode($challengeContent, '123456');

$this->assertSame(true, true);
}
Expand Down

0 comments on commit 75b91d8

Please sign in to comment.