Skip to content

Commit c46875d

Browse files
committed
removed type docs
Signed-off-by: Howriq <[email protected]>
1 parent fb18580 commit c46875d

File tree

1 file changed

+0
-54
lines changed

1 file changed

+0
-54
lines changed

src/App/src/ConfigProvider.php

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Doctrine\ORM\EntityManager;
88
use Doctrine\ORM\EntityManagerInterface;
99
use Doctrine\ORM\Mapping\EntityListenerResolver as EntityListenerResolverInterface;
10-
use Doctrine\Persistence\Mapping\Driver\MappingDriver;
1110
use Doctrine\Persistence\Mapping\Driver\MappingDriverChain;
1211
use Dot\Cache\Adapter\ArrayAdapter;
1312
use Dot\Cache\Adapter\FilesystemAdapter;
@@ -16,62 +15,9 @@
1615
use Mezzio\Application;
1716
use Ramsey\Uuid\Doctrine\UuidType;
1817
use Roave\PsrContainerDoctrine\EntityManagerFactory;
19-
use Symfony\Component\Cache\Adapter\AdapterInterface;
2018

2119
use function getcwd;
2220

23-
/**
24-
* @phpstan-type ConfigType array{
25-
* dependencies: DependenciesType,
26-
* doctrine: DoctrineConfigType,
27-
* resultCacheLifetime: int,
28-
* }
29-
* @phpstan-type DoctrineConfigType array{
30-
* cache: array{
31-
* array: array{
32-
* class: class-string<AdapterInterface>,
33-
* },
34-
* filesystem: array{
35-
* class: class-string<AdapterInterface>,
36-
* directory: non-empty-string,
37-
* namespace: non-empty-string,
38-
* },
39-
* },
40-
* configuration: array{
41-
* orm_default: array{
42-
* entity_listener_resolver: class-string<EntityListenerResolverInterface>,
43-
* result_cache: non-empty-string,
44-
* metadata_cache: non-empty-string,
45-
* query_cache: non-empty-string,
46-
* hydration_cache: non-empty-string,
47-
* typed_field_mapper: non-empty-string|null,
48-
* second_level_cache: array{
49-
* enabled: bool,
50-
* default_lifetime: int,
51-
* default_lock_lifetime: int,
52-
* file_lock_region_directory: string,
53-
* regions: string[],
54-
* },
55-
* },
56-
* },
57-
* driver: array{
58-
* orm_default: array{
59-
* class: class-string<MappingDriver>,
60-
* },
61-
* },
62-
* migrations: array{
63-
* migrations_paths: array<non-empty-string, non-empty-string>,
64-
* all_or_nothing: bool,
65-
* check_database_platform: bool,
66-
* },
67-
* types: array<non-empty-string, class-string>,
68-
* }
69-
* @phpstan-type DependenciesType array{
70-
* factories: array<class-string|non-empty-string, class-string|non-empty-string>,
71-
* aliases: array<class-string|non-empty-string, class-string|non-empty-string>,
72-
* }
73-
*/
74-
7521
class ConfigProvider
7622
{
7723
/**

0 commit comments

Comments
 (0)