Completed
Pull Request — master (#9)
by
unknown
02:02
created
src/Client.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
     protected function request($url)
117 117
     {
118 118
         $response = $this->getHttpClient()
119
-                         ->request('GET', $url, ['headers' => ['authorization' => 'Bearer ' . $this->getToken()]]);
119
+                            ->request('GET', $url, ['headers' => ['authorization' => 'Bearer ' . $this->getToken()]]);
120 120
 
121 121
         return ResponseMediator::convertResponseToArray($response);
122 122
     }
Please login to merge, or discard this patch.
src/Api/Player/Player.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -29,13 +29,13 @@
 block discarded – undo
29 29
  
30 30
 class Player extends AbstractResource
31 31
 {
32
-	protected $casts = [
33
-		'league' => League::class,
34
-		'clan' => Clan::class,
35
-		'spells' => PlayerItemLevelList::class,
36
-		'heroes' => PlayerItemLevelList::class,
37
-		'troops' => PlayerItemLevelList::class,
38
-		'achievements' => AchievementList::class
39
-    	];
32
+    protected $casts = [
33
+        'league' => League::class,
34
+        'clan' => Clan::class,
35
+        'spells' => PlayerItemLevelList::class,
36
+        'heroes' => PlayerItemLevelList::class,
37
+        'troops' => PlayerItemLevelList::class,
38
+        'achievements' => AchievementList::class
39
+        ];
40 40
 }
41 41
 
Please login to merge, or discard this patch.
src/Api/Player/PlayerItemLevelList.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -13,15 +13,15 @@
 block discarded – undo
13 13
  */
14 14
 class PlayerItemLevelList extends AbstractResource
15 15
 {
16
-	protected $casts = [
17
-		'all' => PlayerItemLevel::class
18
-	];
16
+    protected $casts = [
17
+        'all' => PlayerItemLevel::class
18
+    ];
19 19
 	
20
-	/**
21
-	* @return array
22
-	*/
23
-	public function all()
24
-	{
25
-		return $this->get();
26
-	}
20
+    /**
21
+     * @return array
22
+     */
23
+    public function all()
24
+    {
25
+        return $this->get();
26
+    }
27 27
 }
Please login to merge, or discard this patch.
src/Api/Player/AchievementList.php 1 patch
Indentation   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@  discard block
 block discarded – undo
5 5
 use ClashOfClans\Api\AbstractResource;
6 6
 
7 7
 /**
8
-
9 8
  */
10 9
 class AchievementList extends AbstractResource
11 10
 {
@@ -14,8 +13,8 @@  discard block
 block discarded – undo
14 13
     ];
15 14
 	
16 15
     /**
17
-    * @return array
18
-    */
16
+     * @return array
17
+     */
19 18
     public function all()
20 19
     {
21 20
         return $this->get();
Please login to merge, or discard this patch.