misc: update dependencies

This commit is contained in:
Romain Canon 2022-10-19 13:19:16 +02:00
parent 4492ef73dc
commit bd5123390f
7 changed files with 233 additions and 349 deletions

569
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -22,9 +22,6 @@ parameters:
- '#Method [\w\\:]+_data_provider\(\) return type has no value type specified in iterable type#'
- message: '#Template type T of method CuyZ\\Valinor\\Mapper\\TreeMapper::map\(\) is not referenced in a parameter#'
path: src/Mapper/TreeMapper.php
- message: '#Method CuyZ\\Valinor\\MapperBuilder::withCache\(\) has parameter \$cache with generic interface Psr\\SimpleCache\\\CacheInterface but does not specify its types: EntryType#'
path: src/MapperBuilder.php

View File

@ -26,7 +26,7 @@ final class ClassType implements ObjectType, CompositeType
*/
public function __construct(string $className, array $generics = [])
{
$this->className = ltrim($className, '\\'); // @phpstan-ignore-line
$this->className = ltrim($className, '\\');
$this->generics = $generics;
}