Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 705384b

Browse files
committed
minor #9450 Fixed typos (pborreli)
This PR was squashed before being merged into the master branch (closes #9450). Discussion ---------- Fixed typos Commits ------- e8af42e Fixed typos
2 parents d30ffe6 + e8af42e commit 705384b

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed

src/Symfony/Bridge/Doctrine/Security/RememberMe/DoctrineTokenProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class DoctrineTokenProvider implements TokenProviderInterface
4747
private $conn;
4848

4949
/**
50-
* new DoctrineTokenProvider for the RemembeMe authentication service
50+
* new DoctrineTokenProvider for the RememberMe authentication service
5151
*
5252
* @param \Doctrine\DBAL\Connection $conn
5353
*/

src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/php/lazy_service.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct()
3939
* This service is shared.
4040
* This method always returns the same instance of the service.
4141
*
42-
* @param boolean $lazyLoad whether to try lazy-loading the service with a proxy
42+
* @param Boolean $lazyLoad whether to try lazy-loading the service with a proxy
4343
*
4444
* @return stdClass A stdClass instance.
4545
*/
@@ -109,6 +109,8 @@ public function __set($name, $value)
109109

110110
/**
111111
* @param string $name
112+
*
113+
* @return Boolean
112114
*/
113115
public function __isset($name)
114116
{

src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function fileExcerpt($file, $line)
125125
if (extension_loaded('fileinfo')) {
126126
$finfo = new \Finfo();
127127

128-
// Check if the file is an application/octet-stream (eg. Phar file) because hightlight_file cannot parse these files
128+
// Check if the file is an application/octet-stream (eg. Phar file) because highlight_file cannot parse these files
129129
if ('application/octet-stream' === $finfo->file($file, FILEINFO_MIME_TYPE)) {
130130
return;
131131
}

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ protected function getRawContainer()
8383

8484
protected function getContainer()
8585
{
86-
$containter = $this->getRawContainer();
87-
$containter->compile();
86+
$container = $this->getRawContainer();
87+
$container->compile();
8888

89-
return $containter;
89+
return $container;
9090
}
9191
}

src/Symfony/Component/ExpressionLanguage/Node/ArrayNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function addElement(Node $value, Node $key = null)
3434
/**
3535
* Compiles the node to PHP.
3636
*
37-
* @param Compiler A Compiler instance
37+
* @param Compiler $compiler A Compiler instance
3838
*/
3939
public function compile(Compiler $compiler)
4040
{

src/Symfony/Component/ExpressionLanguage/ParserCache/ParserCacheInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ interface ParserCacheInterface
2121
/**
2222
* Saves an expression in the cache.
2323
*
24-
* @param string $key The cache key
25-
* @param ParsedExpression $data A ParsedExpression instance to store in the cache
24+
* @param string $key The cache key
25+
* @param ParsedExpression $expression A ParsedExpression instance to store in the cache
2626
*/
2727
public function save($key, ParsedExpression $expression);
2828

src/Symfony/Component/Process/ProcessPipes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private function readStreams($blocking, $close = false)
256256
// let's have a look if something changed in streams
257257
if (false === $n = @stream_select($r, $w, $e, 0, $blocking ? ceil(Process::TIMEOUT_PRECISION * 1E6) : 0)) {
258258
// if a system call has been interrupted, forget about it, let's try again
259-
// otherwise, an error occured, let's reset pipes
259+
// otherwise, an error occurred, let's reset pipes
260260
if (!$this->hasSystemCallBeenInterrupted()) {
261261
$this->pipes = array();
262262
}

0 commit comments

Comments
 (0)