Skip to content

Commit

Permalink
Fixed nullable event properties referred to teams
Browse files Browse the repository at this point in the history
strHomeTeam, strAwayTeam, idHomeTeam, idAwayTeam
  • Loading branch information
nkl-kst committed Jun 21, 2021
1 parent a3dd149 commit b1cb0e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.4] - 2021-06-21

### Fixed
- Fixed nullable event properties referred to teams (`strHomeTeam`, `strAwayTeam`, `idHomeTeam`, `idAwayTeam`)

## [1.0.3] - 2021-06-09

### Deprecated
Expand Down
8 changes: 4 additions & 4 deletions src/Entity/Event/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class Event
public string $strLeague;
public string $strSeason;
public ?string $strDescriptionEN;
public string $strHomeTeam;
public string $strAwayTeam;
public ?string $strHomeTeam;
public ?string $strAwayTeam;
public ?int $intHomeScore;
public ?int $intRound;
public ?int $intAwayScore;
Expand Down Expand Up @@ -51,8 +51,8 @@ class Event
public ?string $strTime;
public ?string $strTimeLocal;
public ?string $strTVStation;
public int $idHomeTeam;
public int $idAwayTeam;
public ?int $idHomeTeam;
public ?int $idAwayTeam;
public ?string $strResult;
public ?string $strVenue;
public ?string $strCountry;
Expand Down

0 comments on commit b1cb0e4

Please sign in to comment.