Skip to content

Commit 8d85745

Browse files
committed
minor #9518 Fixed typos (pborreli)
This PR was merged into the master branch. Discussion ---------- Fixed typos Commits ------- 8ebf7c5 Fixed typos
2 parents 1a99290 + 8ebf7c5 commit 8d85745

File tree

7 files changed

+11
-5
lines changed

7 files changed

+11
-5
lines changed

src/Symfony/Component/ExpressionLanguage/ExpressionLanguage.php

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public function evaluate($expression, $values = array())
6868
* Parses an expression.
6969
*
7070
* @param Expression|string $expression The expression to parse
71+
* @param array $names An array of valid names
7172
*
7273
* @return ParsedExpression A ParsedExpression instance
7374
*/

src/Symfony/Component/ExpressionLanguage/Lexer.php

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class Lexer
2424
* @param string $expression The expression to tokenize
2525
*
2626
* @return TokenStream A token stream instance
27+
*
28+
* @throws SyntaxError
2729
*/
2830
public function tokenize($expression)
2931
{

src/Symfony/Component/ExpressionLanguage/Parser.php

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ public function __construct(array $functions)
7979
* @param array $names An array of valid names
8080
*
8181
* @return Node A node tree
82+
*
83+
* @throws SyntaxError
8284
*/
8385
public function parse(TokenStream $stream, $names = array())
8486
{

src/Symfony/Component/Filesystem/Exception/IOExceptionInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Filesystem\Exception;
1313

1414
/**
15-
* IOException interface for file and input/output stream releated exceptions thrown by the component.
15+
* IOException interface for file and input/output stream related exceptions thrown by the component.
1616
*
1717
* @author Christian Gärtner <christiangaertner.film@googlemail.com>
1818
*/

src/Symfony/Component/Filesystem/Filesystem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Filesystem
3232
* @param string $targetFile The target filename
3333
* @param boolean $override Whether to override an existing file or not
3434
*
35-
* @throws FileNotFoundException When orginFile doesn't exist
35+
* @throws FileNotFoundException When originFile doesn't exist
3636
* @throws IOException When copy fails
3737
*/
3838
public function copy($originFile, $targetFile, $override = false)

src/Symfony/Component/Form/Extension/DataCollector/FormDataCollector.php

+3-3
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

src/Symfony/Component/Form/Tests/AbstractFormTest.php

+1
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)