Fix syntax errors.

This commit is contained in:
Pol Dellaiera 2021-05-07 19:53:13 +02:00
parent c5b8b6345d
commit ce4cbe3b8d
3 changed files with 36 additions and 33 deletions

View File

@ -97,6 +97,7 @@ class CountPerson implements ExportInterface
// for all value, we do not process them and return them // for all value, we do not process them and return them
// immediatly // immediatly
return $value; return $value;
};
}; };
} }

View File

@ -31,11 +31,14 @@ class ItemController extends Controller {
// use the paginator to get the number of items to display // use the paginator to get the number of items to display
->setMaxResults($paginator->getItemsPerPage()); ->setMaxResults($paginator->getItemsPerPage());
return $this->render('ChillMyBundle:Item:list.html.twig', array( return $this
'items' => $items, ->render(
'paginator' => $paginator 'ChillMyBundle:Item:list.html.twig',
); array(
'items' => $items,
'paginator' => $paginator
)
);
} }
} }

View File

@ -25,7 +25,6 @@ class ThirdPartyTypeManager
* Method used during the load of the manager by Dependency Injection * Method used during the load of the manager by Dependency Injection
* *
* @param \Chill\ThirdPartyBundle\ThirdPartyType\ThirdPartyTypeProviderInterface $provider * @param \Chill\ThirdPartyBundle\ThirdPartyType\ThirdPartyTypeProviderInterface $provider
* @return \self
*/ */
public function addProvider(ThirdPartyTypeProviderInterface $provider): self public function addProvider(ThirdPartyTypeProviderInterface $provider): self
{ {