Skip to content

Commit 981d19e

Browse files
committed
Fixed typos
1 parent 1bbe314 commit 981d19e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Extension/DataCollector/FormDataCollector.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class FormDataCollector extends DataCollector implements FormDataCollectorInterf
3434
/**
3535
* Stores the collected data per {@link FormInterface} instance.
3636
*
37-
* Uses the hashes of the forms as keys. This is preferrable over using
37+
* Uses the hashes of the forms as keys. This is preferable over using
3838
* {@link \SplObjectStorage}, because in this way no references are kept
3939
* to the {@link FormInterface} instances.
4040
*
@@ -45,7 +45,7 @@ class FormDataCollector extends DataCollector implements FormDataCollectorInterf
4545
/**
4646
* Stores the collected data per {@link FormView} instance.
4747
*
48-
* Uses the hashes of the views as keys. This is preferrable over using
48+
* Uses the hashes of the views as keys. This is preferable over using
4949
* {@link \SplObjectStorage}, because in this way no references are kept
5050
* to the {@link FormView} instances.
5151
*
@@ -57,7 +57,7 @@ class FormDataCollector extends DataCollector implements FormDataCollectorInterf
5757
* Connects {@link FormView} with {@link FormInterface} instances.
5858
*
5959
* Uses the hashes of the views as keys and the hashes of the forms as
60-
* values. This is preferrable over storing the objects directly, because
60+
* values. This is preferable over storing the objects directly, because
6161
* this way they can safely be discarded by the GC.
6262
*
6363
* @var array

Tests/AbstractFormTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ abstract protected function createForm();
5757
* @param string $name
5858
* @param EventDispatcherInterface $dispatcher
5959
* @param string $dataClass
60+
* @param array $options
6061
*
6162
* @return FormBuilder
6263
*/

0 commit comments

Comments
 (0)