@@ -12,7 +12,7 @@ |
||
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}; |
@@ -25,7 +25,7 @@ |
||
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 |
@@ -75,7 +75,7 @@ |
||
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() |
@@ -18,7 +18,7 @@ |
||
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() |
@@ -32,6 +32,6 @@ |
||
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 | } |
@@ -33,7 +33,7 @@ discard block |
||
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 |
||
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 |