Skip to content

Commit 3172d92

Browse files
Zales0123loevgaard
authored andcommitted
Fix coding standards
1 parent 95a190b commit 3172d92

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

psalm.xml

+8
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,12 @@
2828
<function name="var_dump"/>
2929
<function name="print_r"/>
3030
</forbiddenFunctions>
31+
<issueHandlers>
32+
<TooManyTemplateParams>
33+
<errorLevel type="suppress">
34+
<directory name="src/Factory"/>
35+
<directory name="src/Repository"/>
36+
</errorLevel>
37+
</TooManyTemplateParams>
38+
</issueHandlers>
3139
</psalm>

src/DependencyInjection/SetonoSyliusMeilisearchExtension.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function load(array $configs, ContainerBuilder $container): void
4343
* @var array{
4444
* indexes: array<string, array{document: class-string<Document>, entities: list<class-string>, data_provider: class-string, indexer: class-string|null, prefix: string|null, default_filters: array<string, bool>}>,
4545
* server: array{ host: string, master_key: string },
46-
* search: array{ enabled: bool, path: string, index: string, hits_per_page: integer },
46+
* search: array{ enabled: bool, path: string, index: string, hits_per_page: int },
4747
* resources: array,
4848
* } $config
4949
*/
@@ -285,7 +285,7 @@ private static function registerDefaultIndexer(ContainerBuilder $container, stri
285285
/**
286286
* todo the search controller should only be available when search is enabled
287287
*
288-
* @param array{ enabled: bool, path: string, index: string, hits_per_page: integer } $config the search configuration
288+
* @param array{ enabled: bool, path: string, index: string, hits_per_page: int } $config the search configuration
289289
* @param list<string> $indexes a list of index names
290290
*/
291291
private static function registerSearchConfiguration(array $config, array $indexes, ContainerBuilder $container, LoaderInterface $loader): void

0 commit comments

Comments
 (0)