| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare ( strict_types = 1 ); | |
| 3 | +declare (strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | namespace Ch0c01dxyz\InstaToken\Interfaces; | 
| 6 | 6 | |
| @@ -18,7 +18,7 @@ discard block | ||
| 18 | 18 | * @param object LocationId $locationId | 
| 19 | 19 | * @return array | 
| 20 | 20 | */ | 
| 21 | - public function infoLocation ( LocationId $locationId ) : array; | |
| 21 | + public function infoLocation(LocationId $locationId) : array; | |
| 22 | 22 | |
| 23 | 23 | /** | 
| 24 | 24 | * Get list of Media object from given Location | 
| @@ -26,7 +26,7 @@ discard block | ||
| 26 | 26 | * @param object LocationId $locationId | 
| 27 | 27 | * @return array | 
| 28 | 28 | */ | 
| 29 | - public function listMediaLocation ( LocationId $locationId ) : array; | |
| 29 | + public function listMediaLocation(LocationId $locationId) : array; | |
| 30 | 30 | |
| 31 | 31 | /** | 
| 32 | 32 | * Search location by given Geographic coordinate | 
| @@ -34,5 +34,5 @@ discard block | ||
| 34 | 34 | * @param object Map $map | 
| 35 | 35 | * @return array | 
| 36 | 36 | */ | 
| 37 | - public function searchLocation ( Map $map ) : array; | |
| 37 | + public function searchLocation(Map $map) : array; | |
| 38 | 38 | } | 
| 39 | 39 | \ No newline at end of file | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare ( strict_types = 1 ); | |
| 3 | +declare (strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | namespace Ch0c01dxyz\InstaToken\Interfaces; | 
| 6 | 6 | |
| @@ -17,7 +17,7 @@ discard block | ||
| 17 | 17 | * @param object TagName $tagName | 
| 18 | 18 | * @return array | 
| 19 | 19 | */ | 
| 20 | - public function listTag ( TagName $tagName ) : array; | |
| 20 | + public function listTag(TagName $tagName) : array; | |
| 21 | 21 | |
| 22 | 22 | /** | 
| 23 | 23 | * Get Information about Tag object | 
| @@ -25,7 +25,7 @@ discard block | ||
| 25 | 25 | * @param object TagName $tagName | 
| 26 | 26 | * @return array | 
| 27 | 27 | */ | 
| 28 | - public function infoTag ( TagName $tagName ) : array; | |
| 28 | + public function infoTag(TagName $tagName) : array; | |
| 29 | 29 | |
| 30 | 30 | /** | 
| 31 | 31 | * Search tag by Name | 
| @@ -33,5 +33,5 @@ discard block | ||
| 33 | 33 | * @param object TagName $tagName | 
| 34 | 34 | * @return array | 
| 35 | 35 | */ | 
| 36 | - public function searchTag ( TagName $tags ) : array; | |
| 36 | + public function searchTag(TagName $tags) : array; | |
| 37 | 37 | } | 
| 38 | 38 | \ No newline at end of file | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare ( strict_types = 1 ); | |
| 3 | +declare (strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | namespace Ch0c01dxyz\InstaToken\Interfaces; | 
| 6 | 6 | |
| @@ -16,28 +16,28 @@ discard block | ||
| 16 | 16 | * | 
| 17 | 17 | * @return array | 
| 18 | 18 | */ | 
| 19 | - public function getFollow () : array; | |
| 19 | + public function getFollow() : array; | |
| 20 | 20 | |
| 21 | 21 | /** | 
| 22 | 22 | * Get User Follower | 
| 23 | 23 | * | 
| 24 | 24 | * @return array | 
| 25 | 25 | */ | 
| 26 | - public function getFollowedBy () : array; | |
| 26 | + public function getFollowedBy() : array; | |
| 27 | 27 | |
| 28 | 28 | /** | 
| 29 | 29 | * Get User Request Follow List | 
| 30 | 30 | * | 
| 31 | 31 | * @return array | 
| 32 | 32 | */ | 
| 33 | - public function getRequestedBy () : array; | |
| 33 | + public function getRequestedBy() : array; | |
| 34 | 34 | |
| 35 | 35 | /** | 
| 36 | 36 | * Get User Relationship | 
| 37 | 37 | * | 
| 38 | 38 | * @return array | 
| 39 | 39 | */ | 
| 40 | - public function getRelation () : array; | |
| 40 | + public function getRelation() : array; | |
| 41 | 41 | |
| 42 | 42 | /** | 
| 43 | 43 | * Change user Relationship | 
| @@ -45,5 +45,5 @@ discard block | ||
| 45 | 45 | * @param object Action $action | 
| 46 | 46 | * @return array | 
| 47 | 47 | */ | 
| 48 | - public function changeRelation ( Action $action ) : array; | |
| 48 | + public function changeRelation(Action $action) : array; | |
| 49 | 49 | } | 
| 50 | 50 | \ No newline at end of file | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare ( strict_types = 1 ); | |
| 3 | +declare (strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | namespace Ch0c01dxyz\InstaToken\Interfaces; | 
| 6 | 6 | |
| @@ -17,7 +17,7 @@ discard block | ||
| 17 | 17 | * @param object MediaId $mediaId | 
| 18 | 18 | * @return array | 
| 19 | 19 | */ | 
| 20 | - public function listLike ( MediaId $mediaId ) : array; | |
| 20 | + public function listLike(MediaId $mediaId) : array; | |
| 21 | 21 | |
| 22 | 22 | /** | 
| 23 | 23 | * Send like to defined Media | 
| @@ -25,7 +25,7 @@ discard block | ||
| 25 | 25 | * @param object MediaId $mediaId | 
| 26 | 26 | * @return array | 
| 27 | 27 | */ | 
| 28 | - public function sendLike ( MediaId $mediaId ) : array; | |
| 28 | + public function sendLike(MediaId $mediaId) : array; | |
| 29 | 29 | |
| 30 | 30 | /** | 
| 31 | 31 | * Remove like from defined Media | 
| @@ -33,5 +33,5 @@ discard block | ||
| 33 | 33 | * @param object MediaId $mediaId | 
| 34 | 34 | * @return array | 
| 35 | 35 | */ | 
| 36 | - public function deleteLike ( MediaId $mediaId ) : array; | |
| 36 | + public function deleteLike(MediaId $mediaId) : array; | |
| 37 | 37 | } | 
| 38 | 38 | \ No newline at end of file | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare ( strict_types = 1 ); | |
| 3 | +declare (strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | namespace Ch0c01dxyz\InstaToken\Interfaces; | 
| 6 | 6 | |
| @@ -18,7 +18,7 @@ discard block | ||
| 18 | 18 | * @param object MediaId $mediaId | 
| 19 | 19 | * @return array | 
| 20 | 20 | */ | 
| 21 | - public function listComment ( MediaId $mediaId ) : array; | |
| 21 | + public function listComment(MediaId $mediaId) : array; | |
| 22 | 22 | |
| 23 | 23 | /** | 
| 24 | 24 | * Send comment to Media | 
| @@ -27,7 +27,7 @@ discard block | ||
| 27 | 27 | * @param string $comment | 
| 28 | 28 | * @return array | 
| 29 | 29 | */ | 
| 30 | - public function sendComment ( MediaId $mediaId, string $comment ) : array; | |
| 30 | + public function sendComment(MediaId $mediaId, string $comment) : array; | |
| 31 | 31 | |
| 32 | 32 | /** | 
| 33 | 33 | * Delete comment on Media | 
| @@ -36,5 +36,5 @@ discard block | ||
| 36 | 36 | * @param object CommentId $commentId | 
| 37 | 37 | * @return array | 
| 38 | 38 | */ | 
| 39 | - public function deleteComment ( MediaId $mediaId, CommentId $commentId ) : array; | |
| 39 | + public function deleteComment(MediaId $mediaId, CommentId $commentId) : array; | |
| 40 | 40 | } | 
| 41 | 41 | \ No newline at end of file | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare ( strict_types = 1 ); | |
| 3 | +declare (strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | namespace Ch0c01dxyz\InstaToken\Interfaces; | 
| 6 | 6 | |
| @@ -14,12 +14,12 @@ discard block | ||
| 14 | 14 | /** | 
| 15 | 15 | * Get URL Login redirect Instagram | 
| 16 | 16 | */ | 
| 17 | - public function getLogin () : string; | |
| 17 | + public function getLogin() : string; | |
| 18 | 18 | |
| 19 | 19 | /** | 
| 20 | 20 | * Get Instagram Authorization | 
| 21 | 21 | * | 
| 22 | 22 | * param string $code | 
| 23 | 23 | */ | 
| 24 | - public function doAuth ( string $code ) : array; | |
| 24 | + public function doAuth(string $code) : array; | |
| 25 | 25 | } | 
| 26 | 26 | \ No newline at end of file | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare ( strict_types = 1 ); | |
| 3 | +declare (strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | namespace Ch0c01dxyz\InstaToken\Interfaces; | 
| 6 | 6 | |
| @@ -18,19 +18,19 @@ discard block | ||
| 18 | 18 | * | 
| 19 | 19 | * @return array | 
| 20 | 20 | */ | 
| 21 | - public function readMedia ( MediaId $mediaId ) : array; | |
| 21 | + public function readMedia(MediaId $mediaId) : array; | |
| 22 | 22 | |
| 23 | 23 | /** | 
| 24 | 24 | * Get Information from given Shortcoded Media | 
| 25 | 25 | * | 
| 26 | 26 | * @return array | 
| 27 | 27 | */ | 
| 28 | - public function infoMedia ( ShortCode $shortCode ) : array; | |
| 28 | + public function infoMedia(ShortCode $shortCode) : array; | |
| 29 | 29 | |
| 30 | 30 | /** | 
| 31 | 31 | * Search recent Media from given Area | 
| 32 | 32 | * | 
| 33 | 33 | * @return array | 
| 34 | 34 | */ | 
| 35 | - public function searchMedia ( Map $map ) : array; | |
| 35 | + public function searchMedia(Map $map) : array; | |
| 36 | 36 | } | 
| 37 | 37 | \ No newline at end of file | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare ( strict_types = 1 ); | |
| 3 | +declare (strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | namespace Ch0c01dxyz\InstaToken\Interfaces; | 
| 6 | 6 | |
| @@ -17,28 +17,28 @@ discard block | ||
| 17 | 17 | * | 
| 18 | 18 | * @return array | 
| 19 | 19 | */ | 
| 20 | - public function getSelf () : array; | |
| 20 | + public function getSelf() : array; | |
| 21 | 21 | |
| 22 | 22 | /** | 
| 23 | 23 | * Get User Information from UserId | 
| 24 | 24 | * | 
| 25 | 25 | * @return array | 
| 26 | 26 | */ | 
| 27 | - public function getInfo ( UserId $userId ) : array; | |
| 27 | + public function getInfo(UserId $userId) : array; | |
| 28 | 28 | |
| 29 | 29 | /** | 
| 30 | 30 | * Get recent User Media | 
| 31 | 31 | * | 
| 32 | 32 | * @return array | 
| 33 | 33 | */ | 
| 34 | - public function getMedia () : array; | |
| 34 | + public function getMedia() : array; | |
| 35 | 35 | |
| 36 | 36 | /** | 
| 37 | 37 | * Get Media liked by User | 
| 38 | 38 | * | 
| 39 | 39 | * @return array | 
| 40 | 40 | */ | 
| 41 | - public function getLiked () : array; | |
| 41 | + public function getLiked() : array; | |
| 42 | 42 | |
| 43 | 43 | /** | 
| 44 | 44 | * Search user by Name in Application | 
| @@ -46,7 +46,7 @@ discard block | ||
| 46 | 46 | * @param object Name $name | 
| 47 | 47 | * @return array | 
| 48 | 48 | */ | 
| 49 | - public function searchUser ( Name $name ) : array; | |
| 49 | + public function searchUser(Name $name) : array; | |
| 50 | 50 | |
| 51 | 51 | /** | 
| 52 | 52 | * Get recent media from given User | 
| @@ -54,5 +54,5 @@ discard block | ||
| 54 | 54 | * @param object UserId $userId | 
| 55 | 55 | * @return array | 
| 56 | 56 | */ | 
| 57 | - public function readUserMedia ( UserId $userId ) : array; | |
| 57 | + public function readUserMedia(UserId $userId) : array; | |
| 58 | 58 | } | 
| 59 | 59 | \ No newline at end of file | 
| @@ -1,6 +1,6 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | -declare ( strict_types = 1 ); | |
| 3 | +declare (strict_types = 1); | |
| 4 | 4 | |
| 5 | 5 | namespace Ch0c01dxyz\InstaToken\Objects; | 
| 6 | 6 | |
| @@ -19,7 +19,7 @@ discard block | ||
| 19 | 19 | * | 
| 20 | 20 | * @param int | 
| 21 | 21 | */ | 
| 22 | - public function __construct ( int $uid ) | |
| 22 | + public function __construct(int $uid) | |
| 23 | 23 |  	{
 | 
| 24 | 24 | $this->userId = $uid; | 
| 25 | 25 | } | 
| @@ -27,7 +27,7 @@ discard block | ||
| 27 | 27 | /** | 
| 28 | 28 | * @return int | 
| 29 | 29 | */ | 
| 30 | - public function __toInt () : int | |
| 30 | + public function __toInt() : int | |
| 31 | 31 |  	{
 | 
| 32 | 32 | return $this->userId; | 
| 33 | 33 | } |