8000 Fixed typos · symfony/symfony@36197dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 36197dc

Browse files
committed
Fixed typos
1 parent 8c320b0 commit 36197dc

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Symfony/Component/Finder/Shell/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public function get($label)
198198
public function end()
199199
{
200200
if (null === $this->parent) {
201-
throw new \RuntimeException('Calling end on root command dont makes sense.');
201+
throw new \RuntimeException('Calling end on root command doesn\'t make sense.');
202202
}
203203

204204
return $this->parent;

src/Symfony/Component/Form/Form.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ public function bind($submittedData)
542542
}
543543

544544
// Check whether the form is compound.
545-
// This check is preferrable over checking the number of children,
545+
// This check is preferable over checking the number of children,
546546
// since forms without children may also be compound.
547547
// (think of empty collection forms)
548548
if ($this->config->getCompound()) {
@@ -837,7 +837,7 @@ public function all()
837837
*/
838838
public function getChildren()
839839
{
840-
trigger_error('getChilren() is deprecated since version 2.1 and will be removed in 2.3. Use all() instead.', E_USER_DE 8000 PRECATED);
840+
trigger_error('getChildren() is deprecated since version 2.1 and will be removed in 2.3. Use all() instead.', E_USER_DEPRECATED);
841841

842842
return $this->all();
843843
}

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ public static function normalizeQueryString($qs)
572572
* Be warned that enabling this feature might lead to CSRF issues in your code.
573573
* Check that you are using CSRF tokens when required.
574574
*
575-
* The HTTP method can only be overriden when the real HTTP method is POST.
575+
* The HTTP method can only be overridden when the real HTTP method is POST.
576576
*/
577577
public static function enableHttpMethodParameterOverride()
578578
{
@@ -722,7 +722,7 @@ public function getScriptName()
722722
*
723723
* * http://localhost/mysite returns an empty string
724724
* * http://localhost/mysite/about returns '/about'
725-
* * htpp://localhost/mysite/enco%20ded returns '/enco%20ded'
725+
* * http://localhost/mysite/enco%20ded returns '/enco%20ded'
726726
* * http://localhost/mysite/about?var=1 returns '/about'
727727
*
728728
* @return string The raw path (i.e. not urldecoded)

src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MemcachedSessionHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
use Symfony\Component\HttpFoundation\Session\Storage\Handler\MemcachedSessionHandler;
1515

16-
class MemcacheddSessionHandlerTest extends \PHPUnit_Framework_TestCase
16+
class MemcachedSessionHandlerTest extends \PHPUnit_Framework_TestCase
1717
{
1818
const PREFIX = 'prefix_';
1919
const TTL = 1000;

0 commit comments

Comments
 (0)
0