11<?php
22
3+ use GuzzleHttp \Client ;
34use Illuminate \Support \Collection ;
45use Phizz \CDragon \CDragonClient ;
56use Phizz \CDragon \Champions \Objects \ChampionData ;
@@ -59,7 +60,7 @@ function makeCDragonClient(string $version = 'latest'): CDragonClient
5960
6061 expect ($ url )->toStartWith ('https://raw.communitydragon.org ' );
6162
62- $ response = (new GuzzleHttp \ Client )->head ($ url );
63+ $ response = (new Client )->head ($ url );
6364 expect ($ response ->getStatusCode ())->toBe (200 );
6465});
6566
@@ -69,7 +70,7 @@ function makeCDragonClient(string $version = 'latest'): CDragonClient
6970
7071 expect ($ url )->toStartWith ('https://raw.communitydragon.org ' );
7172
72- $ response = (new GuzzleHttp \ Client )->head ($ url );
73+ $ response = (new Client )->head ($ url );
7374 expect ($ response ->getStatusCode ())->toBe (200 );
7475});
7576
@@ -79,7 +80,7 @@ function makeCDragonClient(string $version = 'latest'): CDragonClient
7980
8081 expect ($ url )->toStartWith ('https://raw.communitydragon.org ' );
8182
82- $ response = (new GuzzleHttp \ Client )->head ($ url );
83+ $ response = (new Client )->head ($ url );
8384 expect ($ response ->getStatusCode ())->toBe (200 );
8485});
8586
@@ -89,7 +90,7 @@ function makeCDragonClient(string $version = 'latest'): CDragonClient
8990
9091 expect ($ url )->toStartWith ('https://raw.communitydragon.org ' );
9192
92- $ response = (new GuzzleHttp \ Client )->head ($ url );
93+ $ response = (new Client )->head ($ url );
9394 expect ($ response ->getStatusCode ())->toBe (200 );
9495});
9596
0 commit comments