| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Syntax\SteamApi\Containers\Group; |
||
| 13 | function __construct($details) |
||
|
|
|||
| 14 | { |
||
| 15 | $this->count = (int)(string)$details->memberCount; |
||
| 16 | $this->inChat = (int)(string)$details->membersInChat; |
||
| 17 | $this->inGame = (int)(string)$details->membersInGame; |
||
| 18 | $this->online = (int)(string)$details->membersOnline; |
||
| 19 | } |
||
| 20 | |||
| 21 | } |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.