Skip to content

Commit 48cf529

Browse files
change other interface accordingly
1 parent ec30674 commit 48cf529

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.dockerignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/tests/tmp
2+
/vendor
3+
composer.lock

docker-compose.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: '3'
2+
3+
services:
4+
php:
5+
image: phpstan-symfony
6+
build: .
7+
8+
entrypoint: tail -f /dev/null
9+
10+
volumes:
11+
- ./tests:/app/tests
12+
- ./src:/app/src
13+
- ./subs:/app/stubs

stubs/FormTypeInterface.stub

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ namespace Symfony\Component\Form;
55
interface FormTypeInterface
66
{
77
/**
8-
* @param array<mixed> $options
8+
* @param array<string, mixed> $options
99
*/
1010
public function buildForm(FormBuilderInterface $builder, array $options): void;
1111

1212
/**
13-
* @param array<mixed> $options
13+
* @param array<string, mixed> $options
1414
*/
1515
public function buildView(FormView $view, FormInterface $form, array $options): void;
1616

1717
/**
18-
* @param array<mixed> $options
18+
* @param array<string, mixed> $options
1919
*/
2020
public function finishView(FormView $view, FormInterface $form, array $options): void;
2121
}

0 commit comments

Comments
 (0)