Pint applied for formatting

This commit is contained in:
Alex Wulf
2022-07-05 15:55:47 +02:00
parent bfc558d1f2
commit 7d4547df6a
68 changed files with 670 additions and 402 deletions

View File

@@ -1,4 +1,6 @@
<?php namespace DNW\Skills;
<?php
namespace DNW\Skills;
class Team extends RatingContainer
{
@@ -6,8 +8,7 @@ class Team extends RatingContainer
{
parent::__construct();
if(!is_null($player))
{
if (! is_null($player)) {
$this->addPlayer($player, $rating);
}
}
@@ -15,6 +16,7 @@ class Team extends RatingContainer
public function addPlayer(Player $player, Rating $rating)
{
$this->setRating($player, $rating);
return $this;
}
}
}