@@ -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 |
@@ -35,6 +35,9 @@ discard block |
||
| 35 | 35 | $this->assertTrue(true); |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param string[] $attributes |
|
| 40 | + */ |
|
| 38 | 41 | protected function assertObjectHasAttributes($attributes, $object) |
| 39 | 42 | { |
| 40 | 43 | foreach ($attributes as $attribute) { |
@@ -95,6 +98,9 @@ discard block |
||
| 95 | 98 | $this->checkNestedPackageProperties($package); |
| 96 | 99 | } |
| 97 | 100 | |
| 101 | + /** |
|
| 102 | + * @param Syntax\SteamApi\Containers\Group $group |
|
| 103 | + */ |
|
| 98 | 104 | protected function checkGroupProperties($group) |
| 99 | 105 | { |
| 100 | 106 | $this->checkGroupMainSummaryProperties($group); |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | - * @param $group |
|
| 25 | + * @param Syntax\SteamApi\Containers\Group $group |
|
| 26 | 26 | */ |
| 27 | 27 | protected function checkClasses($group) |
| 28 | 28 | { |
@@ -50,6 +50,9 @@ discard block |
||
| 50 | 50 | return $this->convertToObjects($client->achievements, $stats); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param integer $appId |
|
| 55 | + */ |
|
| 53 | 56 | public function GetPlayerAchievements($appId) |
| 54 | 57 | { |
| 55 | 58 | // Set up the api details |
@@ -97,6 +100,9 @@ discard block |
||
| 97 | 100 | } |
| 98 | 101 | } |
| 99 | 102 | |
| 103 | + /** |
|
| 104 | + * @param integer $gameId |
|
| 105 | + */ |
|
| 100 | 106 | public function GetGlobalAchievementPercentagesForApp($gameId) |
| 101 | 107 | { |
| 102 | 108 | // Set up the api details |
@@ -116,7 +122,7 @@ discard block |
||
| 116 | 122 | } |
| 117 | 123 | |
| 118 | 124 | /** |
| 119 | - * @param $appId int Steam 64 id |
|
| 125 | + * @param integer $appId int Steam 64 id |
|
| 120 | 126 | * @param $all bool Return all stats when true and only achievements when false |
| 121 | 127 | * |
| 122 | 128 | * @return mixed |