Reference the Client classes fully namespaced

This commit is contained in:
Jonny Barnes 2017-10-13 20:38:28 +01:00
parent 6fe15e4335
commit 85cb5882bc

View file

@ -3,8 +3,6 @@
namespace App\Http\Controllers;
use App\IndieWebUser;
use IndieAuth\Client as IndieClient;
use GuzzleHttp\Client as GuzzleClient;
use Illuminate\Http\{Request, Response};
use GuzzleHttp\Exception\{ClientException, ServerException};
@ -14,8 +12,8 @@ class MicropubClientController extends Controller
* Inject the dependencies.
*/
public function __construct(
IndieClient $indieClient,
GuzzleClient $guzzleClient
\IndieAuth\Client $indieClient,
\GuzzleHttp\Client $guzzleClient
) {
$this->indieClient = $indieClient;
$this->guzzleClient = $guzzleClient;