Reference the Client
classes fully namespaced
This commit is contained in:
parent
6fe15e4335
commit
85cb5882bc
1 changed files with 2 additions and 4 deletions
|
@ -3,8 +3,6 @@
|
||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
use App\IndieWebUser;
|
use App\IndieWebUser;
|
||||||
use IndieAuth\Client as IndieClient;
|
|
||||||
use GuzzleHttp\Client as GuzzleClient;
|
|
||||||
use Illuminate\Http\{Request, Response};
|
use Illuminate\Http\{Request, Response};
|
||||||
use GuzzleHttp\Exception\{ClientException, ServerException};
|
use GuzzleHttp\Exception\{ClientException, ServerException};
|
||||||
|
|
||||||
|
@ -14,8 +12,8 @@ class MicropubClientController extends Controller
|
||||||
* Inject the dependencies.
|
* Inject the dependencies.
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
IndieClient $indieClient,
|
\IndieAuth\Client $indieClient,
|
||||||
GuzzleClient $guzzleClient
|
\GuzzleHttp\Client $guzzleClient
|
||||||
) {
|
) {
|
||||||
$this->indieClient = $indieClient;
|
$this->indieClient = $indieClient;
|
||||||
$this->guzzleClient = $guzzleClient;
|
$this->guzzleClient = $guzzleClient;
|
||||||
|
|
Loading…
Add table
Reference in a new issue