Completed
Push — master ( 801dab...5b473f )
by Jelle
03:12 queued 20s
created
src/Entity/Event.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     )),
30 30
     array('strDescriptionEN', 'description'),
31 31
     array('intHomeScore', 'homeScore'),
32
-    array('intRound' , 'round'),
32
+    array('intRound', 'round'),
33 33
     array('intAwayScore', 'awayScore'),
34 34
     array('intSpectators', 'spectators'),
35 35
     array('strHomeGoalDetails', 'homeGoalDetails'),
Please login to merge, or discard this patch.
src/Entity/EntityManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -199,13 +199,13 @@
 block discarded – undo
199 199
         $transform = $args[2][0];
200 200
         $reverse = $args[2][1];
201 201
         $args[2] = new Callback(
202
-          function ($value, $context) use ($entityManager, $transform) {
202
+          function($value, $context) use ($entityManager, $transform) {
203 203
             if ($entityManager->isEmptyValue($value)) {
204 204
               return $value;
205 205
             }
206 206
             return call_user_func_array($transform, array($value, $context, $entityManager));
207 207
           },
208
-          function ($value, $context) use ($entityManager, $reverse) {
208
+          function($value, $context) use ($entityManager, $reverse) {
209 209
             if ($entityManager->isEmptyValue($value)) {
210 210
               return $value;
211 211
             }
Please login to merge, or discard this patch.
src/Entity/Repository/Repository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
    */
49 49
   public function byId($id) {
50 50
     if (!isset($this->repository[$id])) {
51
-      $factory =  $this->entityManager->factory($this->getEntityTypeName());
51
+      $factory = $this->entityManager->factory($this->getEntityTypeName());
52 52
       $this->repository[$id] = $factory->create(
53 53
         (object) array('id' => $id),
54 54
         $this->getEntityTypeName(),
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
       $entity->update($mapped);
80 80
     }
81 81
     else {
82
-      $factory =  $this->entityManager->factory($this->getEntityTypeName());
82
+      $factory = $this->entityManager->factory($this->getEntityTypeName());
83 83
       $this->repository[$mapped->id] = $factory->create($mapped, $this->getEntityTypeName(), FALSE);
84 84
     }
85 85
     return $this->repository[$mapped->id];
Please login to merge, or discard this patch.
src/Entity/Repository/SeasonRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
   public function byId($id) {
22 22
     if (!isset($this->repository[$id])) {
23 23
       list($name, $league) = explode('|', $id);
24
-      $factory =  $this->entityManager->factory($this->getEntityTypeName());
24
+      $factory = $this->entityManager->factory($this->getEntityTypeName());
25 25
       $this->repository[$id] = $factory->create(
26 26
         $this->entityManager->reverseMapProperties(
27 27
           (object) array('id' => $id, 'name' => $name, 'league' => (object) array('id' => $league)),
Please login to merge, or discard this patch.