Fibinger Ádám
2020-02-21 f6a0dc34d96cd54707367ff0154a1b96331878b6
EOG/Models/Stripe.php
@@ -75,17 +75,17 @@
   {
      if (!in_array($color, $this->allowedColors))
      {
         throw new \InvalidArgumentException("Given colour " . $team_color . " not allowed. Allowed colours: " . implode(', ', $this->allowedColors));
         throw new \InvalidArgumentException("Given colour " . $color . " not allowed. Allowed colours: " . implode(', ', $this->allowedColors));
      }
   }
   public function setTeamName(string $team_color = self::TEAM_BLUE, $name)
   public function setTeamName(string $team_color = self::TEAM_BLUE, $name= '')
   {
      $this->testColor($team_color);
      $this->state['team'][$team_color]['name'] = $name;
   }
   public function addTeamBan(string $team_color = self::TEAM_BLUE, $operator)
   public function addTeamBan(string $team_color = self::TEAM_BLUE, $operator = '')
   {
      $this->testColor($team_color);
      if (!in_array($operator, $this->allowedOperators))