@@ -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 | */ |
@@ -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 | { |