Hi I'm creating a service. This is the code,

```
namespace App\Service;

use Symfony\Component\DependencyInjection\ContainerInterface;
use App\Entity\CarAd;

class MatchCarAdService {

    protected $mailer;
    protected $templating;

    public function __construct(ContainerInterface $container, \Swift_Mailer $mailer, $templating) {
        $this->container = $container;
        $this->mailer = $mailer;
        $this->templating = $templating;
    }

    public function sendMail() {
        $message = (new \Swift_Message('Hello Email'))
                ->setFrom('vimuths@yahoo.com')
                ->setTo('vimuths@yahoo.com')
                ->setBody(
                $this->templating->render(
                        // templates/emails/matching-cars.html.html.twig
                        'emails/matching-cars.html.html.twig', []
                ), 'text/html'
        );

    $this->mailer->send($message);

```

This is services.yml

```
MatchCarAdService:
            class: App\Service\MatchCarAdService
            arguments: ['@mailer','@templating']

```

But I'm getting this error,

> 
> Cannot resolve argument $matchService of
>  "App\Controller\Api\SearchController()": Cannot autowire service
>  "App\Service\MatchCarAdService": argument "$templating" of method
>  "\_\_construct()" has no type-hint, you should configure its value
>  explicitly.
> 
> 
>