Skip to content

Commit 60eeacd

Browse files
committed
Fixed typos
1 parent 4a073e6 commit 60eeacd

File tree

17 files changed

+23
-21
lines changed

17 files changed

+23
-21
lines changed

src/Symfony/Bridge/Doctrine/Tests/Form/ChoiceList/EntityChoiceListTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected function tearDown()
7373
* @expectedException Symfony\Component\Form\Exception\FormException
7474
* @expectedMessage Entity "Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIdentEntity" passed to the choice field must have a "__toString()" method defined (or you can also override the "property" option).
7575
*/
76-
public function testEntitesMustHaveAToStringMethod()
76+
public function testEntitiesMustHaveAToStringMethod()
7777
{
7878
$entity1 = new NoToStringSingleIdentEntity(1, 'Foo');
7979
$entity2 = new NoToStringSingleIdentEntity(2, 'Bar');

src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use Symfony\Component\Form\Extension\Core\ChoiceList\ObjectChoiceList;
1919

2020
/**
21-
* Widely inspirated by the EntityChoiceList.
21+
* Widely inspired by the EntityChoiceList.
2222
*
2323
* @author William Durand <[email protected]>
2424
*/
@@ -369,7 +369,7 @@ private function getIdentifierValues($model)
369369
*
370370
* @param ColumnMap $column
371371
*
372-
* @return boolean
372+
* @return Boolean
373373
*/
374374
private function isInteger(\ColumnMap $column)
375375
{

src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function __construct(\Twig_Environment $twig, $debug)
3737
/**
3838
* Converts an Exception to a Response.
3939
*
40+
* @param Request $request The request
4041
* @param FlattenException $exception A FlattenException instance
4142
* @param DebugLoggerInterface $logger A DebugLoggerInterface instance
4243
* @param string $format The format to use for rendering (html, xml, ...)

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
*
175175
* @param request the request object
176176
* @param max <subjected for removal>
177-
* @param threshold the threshold (lower bound) of the length of the timeline (in miliseconds).
177+
* @param threshold the threshold (lower bound) of the length of the timeline (in milliseconds).
178178
* @param width the width of the canvas.
179179
*/
180180
this.drawOne = function(request, max, threshold, width)

src/Symfony/Component/Config/Definition/ReferenceDumper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public function dumpNode(NodeInterface $node)
3838
}
3939

4040
/**
41-
* @param int $depth
41+
* @param NodeInterface $node
42+
* @param integer $depth
4243
*/
4344
private function writeNode(NodeInterface $node, $depth = 0)
4445
{

src/Symfony/Component/Filesystem/Tests/FilesystemTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ public function providePathsForIsAbsolutePath()
886886
/**
887887
* Returns file permissions as three digits (i.e. 755)
888888
*
889-
* @param string $filepath
889+
* @param string $filePath
890890
*
891891
* @return integer
892892
*/

src/Symfony/Component/Finder/Expression/Regex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public function hasEndJoker()
273273
}
274274

275275
/**
276-
* @param array $replacements
276+
* @param array $replacement
277277
*
278278
* @return Regex
279279
*/

src/Symfony/Component/Locale/Tests/Stub/StubIntlDateFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ public function testParseErrorStub($pattern, $value)
866866

867867
public function parseErrorProvider()
868868
{
869-
return array(
869+
$data = array(
870870
// 1 char month
871871
array('y-MMMMM-d', '1970-J-1'),
872872
array('y-MMMMM-d', '1970-S-1'),

src/Symfony/Component/Process/Process.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,13 +692,13 @@ public function getStatus()
692692
/**
693693
* Stops the process.
694694
*
695-
* @param float $timeout The timeout in seconds
695+
* @param integer $timeout The timeout in seconds
696696
*
697697
* @return integer The exit-code of the process
698698
*
699699
* @throws RuntimeException if the process got signaled
700700
*/
701-
public function stop($timeout=10)
701+
public function stop($timeout = 10)
702702
{
703703
$timeoutMicro = (int) $timeout*10E6;
704704
if ($this->isRunning()) {

src/Symfony/Component/Routing/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ CHANGELOG
7070
it disallows the slash (`/`) and the next char. Using the previous char added
7171
no value and was problematic because the route `/index.{_format}` would be
7272
matched by `/index.ht/ml`.
73-
* The default requirement now uses possesive quantifiers when possible which
73+
* The default requirement now uses possessive quantifiers when possible which
7474
improves matching performance by up to 20% because it prevents backtracking
7575
when it's not needed.
7676
* The ConfigurableRequirementsInterface can now also be used to disable the requirements

0 commit comments

Comments
 (0)