@@ -97,6 +97,9 @@ discard block |
||
| 97 | 97 | return $games; |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | + /** |
|
| 101 | + * @param integer $count |
|
| 102 | + */ |
|
| 100 | 103 | public function GetRecentlyPlayedGames($count = null) |
| 101 | 104 | { |
| 102 | 105 | // Set up the api details |
@@ -121,6 +124,9 @@ discard block |
||
| 121 | 124 | return null; |
| 122 | 125 | } |
| 123 | 126 | |
| 127 | + /** |
|
| 128 | + * @param integer $appIdPlaying |
|
| 129 | + */ |
|
| 124 | 130 | public function IsPlayingSharedGame($appIdPlaying) |
| 125 | 131 | { |
| 126 | 132 | // Set up the api details |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | /** |
| 24 | 24 | * Get the user_ids for a display name. |
| 25 | 25 | * |
| 26 | - * @param null $displayName Custom name from steam profile link. |
|
| 26 | + * @param string $displayName Custom name from steam profile link. |
|
| 27 | 27 | * |
| 28 | 28 | * @return mixed |
| 29 | 29 | * |
@@ -105,6 +105,9 @@ discard block |
||
| 105 | 105 | return $result; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | + /** |
|
| 109 | + * @param integer $steamId |
|
| 110 | + */ |
|
| 108 | 111 | public function GetPlayerBans($steamId = null) |
| 109 | 112 | { |
| 110 | 113 | // Set up the api details |
@@ -51,6 +51,9 @@ discard block |
||
| 51 | 51 | return $achievements; |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param integer $appId |
|
| 56 | + */ |
|
| 54 | 57 | public function GetPlayerAchievements($appId) |
| 55 | 58 | { |
| 56 | 59 | // Set up the api details |
@@ -93,6 +96,9 @@ discard block |
||
| 93 | 96 | } |
| 94 | 97 | } |
| 95 | 98 | |
| 99 | + /** |
|
| 100 | + * @param integer $gameId |
|
| 101 | + */ |
|
| 96 | 102 | public function GetGlobalAchievementPercentagesForApp($gameId) |
| 97 | 103 | { |
| 98 | 104 | // Set up the api details |
@@ -112,7 +118,7 @@ discard block |
||
| 112 | 118 | } |
| 113 | 119 | |
| 114 | 120 | /** |
| 115 | - * @param $appId int Steam 64 id |
|
| 121 | + * @param integer $appId int Steam 64 id |
|
| 116 | 122 | * @param $all bool Return all stats when true and only achievements when false |
| 117 | 123 | * |
| 118 | 124 | * @return mixed |
@@ -124,6 +124,9 @@ discard block |
||
| 124 | 124 | return $response->body; |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | + /** |
|
| 128 | + * @return \SimpleXMLElement |
|
| 129 | + */ |
|
| 127 | 130 | protected function setUpXml(array $arguments = []) |
| 128 | 131 | { |
| 129 | 132 | $steamUrl = $this->buildUrl(); |
@@ -226,7 +229,7 @@ discard block |
||
| 226 | 229 | } |
| 227 | 230 | |
| 228 | 231 | /** |
| 229 | - * @param Collection $objects |
|
| 232 | + * @param \NukaCode\Database\Collection $objects |
|
| 230 | 233 | * |
| 231 | 234 | * @return $this |
| 232 | 235 | */ |
@@ -15,6 +15,9 @@ |
||
| 15 | 15 | $this->interface = 'api'; |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | + /** |
|
| 19 | + * @param integer $appIds |
|
| 20 | + */ |
|
| 18 | 21 | public function appDetails($appIds, $country = null, $language = null) |
| 19 | 22 | { |
| 20 | 23 | // Set up the api details |
@@ -15,6 +15,9 @@ |
||
| 15 | 15 | $this->interface = 'api'; |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | + /** |
|
| 19 | + * @param integer $packIds |
|
| 20 | + */ |
|
| 18 | 21 | public function packageDetails($packIds, $cc = null, $language = null) |
| 19 | 22 | { |
| 20 | 23 | // Set up the api details |