mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-10-31 20:12:29 +01:00
Replacing public properties by getters and setters
This commit is contained in:
@ -32,7 +32,7 @@ class Team implements \JsonSerializable {
|
||||
* @param int $id The team identifier.
|
||||
* @param string $name The team name.
|
||||
*/
|
||||
function __construct(int $id, string $name = '') {
|
||||
function __construct(int $id, string $name) {
|
||||
$this->id = $id;
|
||||
$this->setName($name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user