Completed
Branch master (2f9adf)
by SAEZ
05:56
created
src/EntityInformation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     public function __get($name)
14 14
     {
15
-        if (! isset($this->informations->{$name})) {
15
+        if (!isset($this->informations->{$name})) {
16 16
             return null;
17 17
         }
18 18
         $requestedInformation = $this->informations->{$name};
Please login to merge, or discard this patch.
src/Entity/Player/Progression.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     protected function extratRaid($key, $value)
26 26
     {
27 27
         $raids = $this->raids();
28
-        $raid = array_filter($raids, function ($raid) use ($key, $value) {
28
+        $raid = array_filter($raids, function($raid) use ($key, $value) {
29 29
             return $raid->{$key} === $value;
30 30
         });
31 31
 
Please login to merge, or discard this patch.
src/Entity/Player/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     {
76 76
         $host = str_replace(".api", '', $this->getHost());
77 77
         $region = $this->getRegion();
78
-        return $host . "static-render/" . $region . "/" . $this->thumbnail();
78
+        return $host."static-render/".$region."/".$this->thumbnail();
79 79
     }
80 80
 
81 81
     public function getProfileMainUrl()
Please login to merge, or discard this patch.
src/Entity/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
     public function getRessource()
20 20
     {
21
-        return "/wow/item/" . $this->itemId;
21
+        return "/wow/item/".$this->itemId;
22 22
     }
23 23
 
24 24
     public function id()
Please login to merge, or discard this patch.
src/Entity/Player.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
 
33 33
     public function getRessource()
34 34
     {
35
-        return "wow/character/" . $this->realmName . "/" . $this->characterName;
35
+        return "wow/character/".$this->realmName."/".$this->characterName;
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
src/WowApiRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         if ($this->isAvailableLocale($locale)) {
34 34
             $this->locale = $locale;
35 35
         } else {
36
-            LoggerFactory::getLogger()->info("The locale $locale isn't available for the host " . $this->getHost());
36
+            LoggerFactory::getLogger()->info("The locale $locale isn't available for the host ".$this->getHost());
37 37
         }
38 38
     }
39 39
     private function checkHost()
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
     private function buildUrl($ressourceToGrab)
60 60
     {
61
-        $ressourceToGrab = $this->getHost() . $ressourceToGrab;
61
+        $ressourceToGrab = $this->getHost().$ressourceToGrab;
62 62
         return $ressourceToGrab;
63 63
     }
64 64
 
Please login to merge, or discard this patch.