Completed
Pull Request — development (#801)
by
unknown
04:18
created
htdocs_symfony/src/Repository/CachesRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,12 +71,12 @@
 block discarded – undo
71 71
     public function getEntityFromDatabaseArray(array $data): CachesEntity
72 72
     {
73 73
         $entity = new CachesEntity();
74
-        $entity->id = (int) $data['cache_id'];
74
+        $entity->id = (int)$data['cache_id'];
75 75
         $entity->name = $data['name'];
76 76
         $entity->wp_gc = $data['wp_gc'];
77 77
         $entity->wp_oc = $data['wp_oc'];
78
-        $entity->latitude = (double) $data['latitude'];
79
-        $entity->longitude = (double) $data['longitude'];
78
+        $entity->latitude = (double)$data['latitude'];
79
+        $entity->longitude = (double)$data['longitude'];
80 80
 
81 81
         return $entity;
82 82
     }
Please login to merge, or discard this patch.
htdocs_symfony/src/Entity/CachesEntity.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,10 +84,11 @@
 block discarded – undo
84 84
      */
85 85
     public function isActiveAndFindableAndSoOn(): bool
86 86
     {
87
-        if ($this->status == 1)
88
-            return $this->true;
89
-        else
90
-            return $this->false;
87
+        if ($this->status == 1) {
88
+                    return $this->true;
89
+        } else {
90
+                    return $this->false;
91
+        }
91 92
     }
92 93
 
93 94
     public function getName(): string
Please login to merge, or discard this patch.