@@ -81,9 +81,9 @@ |
||
| 81 | 81 | protected $updatedAt; |
| 82 | 82 | |
| 83 | 83 | public function __construct() { |
| 84 | - $this->coaches= new ArrayCollection(); |
|
| 85 | - $this->competitions= new ArrayCollection(); |
|
| 86 | - $this->cities= new ArrayCollection(); |
|
| 84 | + $this->coaches = new ArrayCollection(); |
|
| 85 | + $this->competitions = new ArrayCollection(); |
|
| 86 | + $this->cities = new ArrayCollection(); |
|
| 87 | 87 | $this->referees = new ArrayCollection(); |
| 88 | 88 | } |
| 89 | 89 | |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $configuration = new Configuration(); |
| 26 | 26 | $config = $this->processConfiguration($configuration, $configs); |
| 27 | 27 | |
| 28 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 28 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 29 | 29 | $loader->load('config.yml'); |
| 30 | 30 | $loader->load('services.yml'); |
| 31 | 31 | } |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | $game->setMatchday($matchday); |
| 39 | 39 | $game->setTeamHome($teamHome); |
| 40 | 40 | $game->setTeamAway($teamAway); |
| 41 | - $slug = $game->getMatchday()->getSlug(). '-' . $teamHome->getSlug() . '-' . $teamAway->getSlug(); |
|
| 41 | + $slug = $game->getMatchday()->getSlug() . '-' . $teamHome->getSlug() . '-' . $teamAway->getSlug(); |
|
| 42 | 42 | $game->setSlug($slug); |
| 43 | 43 | } else { |
| 44 | 44 | $game = array_shift($game); |