Completed
Push — master ( 93d505...55670f )
by
unknown
03:20
created
src/GameExtraBetting/Communication/Controller/UserExtraBetting.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     {
76 76
         $result = [];
77 77
         $teams = $this->getDoctrine()->getRepository(Team::class)
78
-                      ->findAll();
78
+                        ->findAll();
79 79
 
80 80
         foreach ($teams as $team) {
81 81
             $result[$team->getName()] = $team->getId();
Please login to merge, or discard this patch.
src/GameCore/Persistence/Repository/GameRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $qb = $this->createQueryBuilder('game');
26 26
         $qb->where('game.date > :date')
27
-           ->setParameter('date', new \DateTime())
27
+            ->setParameter('date', new \DateTime())
28 28
             ->orderBy('game.date', 'ASC');
29 29
 
30 30
         return $qb->getQuery()->getResult();
Please login to merge, or discard this patch.
src/GameBetting/Persistence/Entity/UserBetting.php 1 patch
Indentation   -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,6 @@  discard block
 block discarded – undo
113 113
 
114 114
     /**
115 115
      * Gets triggered only on insert
116
-
117 116
      * @ORM\PrePersist
118 117
      */
119 118
     public function onPrePersist()
@@ -123,7 +122,6 @@  discard block
 block discarded – undo
123 122
 
124 123
     /**
125 124
      * Gets triggered every time on update
126
-
127 125
      * @ORM\PreUpdate
128 126
      */
129 127
     public function onPreUpdate()
Please login to merge, or discard this patch.
src/GameBetting/Communication/Controller/UserBetting.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,12 +75,12 @@
 block discarded – undo
75 75
         $entityManager = $this->getDoctrine()->getManager();
76 76
 
77 77
         $userBetting = $entityManager->getRepository(UserBettingEntity::class)
78
-                                     ->findByGameIdAndUserId($params['gameId'], $this->getUser()->getId())
78
+                                        ->findByGameIdAndUserId($params['gameId'], $this->getUser()->getId())
79 79
         ;
80 80
         if (!$userBetting instanceof UserBettingEntity) {
81 81
             $userBetting = new UserBettingEntity();
82 82
             $game = $entityManager->getRepository(Game::class)
83
-                                  ->find($params['gameId']);
83
+                                    ->find($params['gameId']);
84 84
             $userBetting->setGame($game);
85 85
             $userBetting->setUser($this->getUser());
86 86
         }
Please login to merge, or discard this patch.
src/GameBetting/Business/Form/UserBettingType.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@
 block discarded – undo
37 37
     public function configureOptions(OptionsResolver $resolver)
38 38
     {
39 39
         $resolver->setDefaults(array(
40
-           'game' => null,
41
-           'bet' => null,
42
-           'editable' => null,
40
+            'game' => null,
41
+            'bet' => null,
42
+            'editable' => null,
43 43
             'csrf_protection' => false
44 44
         ));
45 45
     }
Please login to merge, or discard this patch.