$this of type Dacastro4\LaravelGmail\Traits\HasLabels is incompatible with the type Google\Client|array expected by parameter $clientOrConfig of Google_Service_Gmail::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
18
$service = new Google_Service_Gmail(/** @scrutinizer ignore-type */ $this);
$this of type Dacastro4\LaravelGmail\Traits\HasLabels is incompatible with the type Google\Client|array expected by parameter $clientOrConfig of Google_Service_Gmail::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
33
$service = new Google_Service_Gmail(/** @scrutinizer ignore-type */ $this);
$this of type Dacastro4\LaravelGmail\Traits\HasLabels is incompatible with the type Google\Client|array expected by parameter $clientOrConfig of Google_Service_Gmail::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
55
$service = new Google_Service_Gmail(/** @scrutinizer ignore-type */ $this);