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
This commit is contained in:
Fabien Potencier 2013-11-09 12:55:32 +01:00
commit 705384bc5f
7 changed files with 12 additions and 10 deletions

View File

@ -47,7 +47,7 @@ class DoctrineTokenProvider implements TokenProviderInterface
private $conn;
/**
* new DoctrineTokenProvider for the RemembeMe authentication service
* new DoctrineTokenProvider for the RememberMe authentication service
*
* @param \Doctrine\DBAL\Connection $conn
*/

View File

@ -39,7 +39,7 @@ class LazyServiceProjectServiceContainer extends Container
* This service is shared.
* This method always returns the same instance of the service.
*
* @param boolean $lazyLoad whether to try lazy-loading the service with a proxy
* @param Boolean $lazyLoad whether to try lazy-loading the service with a proxy
*
* @return stdClass A stdClass instance.
*/
@ -109,6 +109,8 @@ class stdClass_c1d194250ee2e2b7d2eab8b8212368a8 extends \stdClass implements \Pr
/**
* @param string $name
*
* @return Boolean
*/
public function __isset($name)
{

View File

@ -125,7 +125,7 @@ class CodeHelper extends Helper
if (extension_loaded('fileinfo')) {
$finfo = new \Finfo();
// Check if the file is an application/octet-stream (eg. Phar file) because hightlight_file cannot parse these files
// Check if the file is an application/octet-stream (eg. Phar file) because highlight_file cannot parse these files
if ('application/octet-stream' === $finfo->file($file, FILEINFO_MIME_TYPE)) {
return;
}

View File

@ -83,9 +83,9 @@ class SecurityExtensionTest extends \PHPUnit_Framework_TestCase
protected function getContainer()
{
$containter = $this->getRawContainer();
$containter->compile();
$container = $this->getRawContainer();
$container->compile();
return $containter;
return $container;
}
}

View File

@ -34,7 +34,7 @@ class ArrayNode extends Node
/**
* Compiles the node to PHP.
*
* @param Compiler A Compiler instance
* @param Compiler $compiler A Compiler instance
*/
public function compile(Compiler $compiler)
{

View File

@ -21,8 +21,8 @@ interface ParserCacheInterface
/**
* Saves an expression in the cache.
*
* @param string $key The cache key
* @param ParsedExpression $data A ParsedExpression instance to store in the cache
* @param string $key The cache key
* @param ParsedExpression $expression A ParsedExpression instance to store in the cache
*/
public function save($key, ParsedExpression $expression);

View File

@ -256,7 +256,7 @@ class ProcessPipes
// let's have a look if something changed in streams
if (false === $n = @stream_select($r, $w, $e, 0, $blocking ? ceil(Process::TIMEOUT_PRECISION * 1E6) : 0)) {
// if a system call has been interrupted, forget about it, let's try again
// otherwise, an error occured, let's reset pipes
// otherwise, an error occurred, let's reset pipes
if (!$this->hasSystemCallBeenInterrupted()) {
$this->pipes = array();
}