mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Fix phpstan issues
This commit is contained in:
@@ -31,6 +31,9 @@ class NativeDateIntervalType extends DateIntervalType
|
||||
{
|
||||
public const FORMAT = '%rP%YY%MM%DDT%HH%IM%SS';
|
||||
|
||||
/**
|
||||
* @param DateInterval|null $value
|
||||
*/
|
||||
public function convertToDatabaseValue($value, AbstractPlatform $platform)
|
||||
{
|
||||
if (null === $value) {
|
||||
|
@@ -13,8 +13,18 @@ namespace Chill\MainBundle\Routing;
|
||||
|
||||
use Knp\Menu\MenuItem;
|
||||
|
||||
/**
|
||||
* Implements a builder for menu
|
||||
*
|
||||
* @template TParams of array
|
||||
*/
|
||||
interface LocalMenuBuilderInterface
|
||||
{
|
||||
/**
|
||||
* @param $menuId
|
||||
* @param MenuItem $menu
|
||||
* @param TParams $parameters
|
||||
*/
|
||||
public function buildMenu($menuId, MenuItem $menu, array $parameters);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user