fixed spelling typo

This commit is contained in:
pborreli 2010-04-05 18:28:55 +00:00 committed by Fabien Potencier
parent bc29f81e8e
commit 7c628a98d2
14 changed files with 18 additions and 18 deletions

View File

@ -144,7 +144,7 @@ class YamlDumper extends Dumper
}
/**
* @throws \RuntimeException When trying to dump object or ressource
* @throws \RuntimeException When trying to dump object or resource
*/
protected function dumpValue($value)
{

View File

@ -53,7 +53,7 @@ interface LoaderExtensionInterface
public function getXsdValidationBasePath();
/**
* Returns the recommanded alias to use in XML.
* Returns the recommended alias to use in XML.
*
* This alias is also the mandatory prefix to use when using YAML.
*

View File

@ -89,7 +89,7 @@ class ArrayDecorator extends GetterDecorator implements \Iterator, \ArrayAccess,
/**
* Returns true if the supplied offset isset in the array (as required by the ArrayAccess interface).
*
* @param string $offset The offset of the value to check existance of
* @param string $offset The offset of the value to check existence of
*
* @return bool true if the offset isset; false otherwise
*/

View File

@ -33,7 +33,7 @@ class IteratorDecorator extends ObjectDecorator implements \Iterator, \Countable
private $iterator;
/**
* Constructs a new escaping iteratoror using the escaping method and value supplied.
* Constructs a new escaping iterator using the escaping method and value supplied.
*
* @param string $escaper The escaping method to use
* @param \Traversable $value The iterator to escape
@ -100,7 +100,7 @@ class IteratorDecorator extends ObjectDecorator implements \Iterator, \Countable
/**
* Returns true if the supplied offset isset in the array (as required by the ArrayAccess interface).
*
* @param string $offset The offset of the value to check existance of
* @param string $offset The offset of the value to check existence of
*
* @return bool true if the offset isset; false otherwise
*/

View File

@ -31,7 +31,7 @@ class CompiledRoute
*
* @param Route $route A original Route instance
* @param string $staticPrefix The static prefix of the compiled route
* @param string $regex The regular expresion to use to match this route
* @param string $regex The regular expression to use to match this route
* @param array $tokens An array of tokens to use to generate URL for this route
* @param array $variables An array of variables
*/

View File

@ -63,7 +63,7 @@ class YamlFileLoader extends FileLoader
}
/**
* @throws \InvalidArgumentException When coonfig pattern is not defined for the given route
* @throws \InvalidArgumentException When config pattern is not defined for the given route
*/
protected function parseRoute(RouteCollection $collection, $name, $config, $file)
{

View File

@ -70,7 +70,7 @@ class Inline
*
* @return string The YAML string representing the PHP array
*
* @throws Exception When trying to dump PHP ressource
* @throws Exception When trying to dump PHP resource
*/
static public function dump($value)
{

View File

@ -16,7 +16,7 @@ use Symfony\Components\DependencyInjection\ContainerInterface;
*/
/**
* This EventDispatcher implementation uses a DependencyInjection contrainer to
* This EventDispatcher implementation uses a DependencyInjection container to
* lazy load listeners.
*
* @package symfony

View File

@ -24,7 +24,7 @@ use Doctrine\Common\Cli\CliController as DoctrineCliController;
*/
/**
* Base class for Doctrine consol commands to extend from.
* Base class for Doctrine console commands to extend from.
*
* @package symfony
* @subpackage console

View File

@ -82,7 +82,7 @@ class DataCollectorManager
{
$config = $this->container->findAnnotatedServiceIds('data_collector');
$ids = array();
$coreColectors = array();
$coreCollectors = array();
$userCollectors = array();
foreach ($config as $id => $attributes)
{
@ -91,7 +91,7 @@ class DataCollectorManager
if (isset($attributes[0]['core']) && $attributes[0]['core'])
{
$coreColectors[$collector->getName()] = $collector;
$coreCollectors[$collector->getName()] = $collector;
}
else
{
@ -99,6 +99,6 @@ class DataCollectorManager
}
}
return $this->collectors = array_merge($coreColectors, $userCollectors);
return $this->collectors = array_merge($coreCollectors, $userCollectors);
}
}

View File

@ -137,7 +137,7 @@ class SwiftMailerExtension extends LoaderExtension
}
/**
* Returns the recommanded alias to use in XML.
* Returns the recommended alias to use in XML.
*
* This alias is also the mandatory prefix to use when using YAML.
*

View File

@ -24,7 +24,7 @@ class Filesystem
*
* This method only copies the file if the origin file is newer than the target file.
*
* By default, if the target already exists, it is not overriden.
* By default, if the target already exists, it is not overridden.
*
* To override existing files, pass the "override" option.
*

View File

@ -241,7 +241,7 @@ class Finder
*
* Currently supports Subversion, CVS, DARCS, Gnu Arch, Monotone, Bazaar-NG, GIT, Mercurial
*
* @param bool $ignore falase when version control directories shall be included (default is true)
* @param bool $ignore false when version control directories shall be included (default is true)
*
* @return Finder Current object
*/
@ -279,7 +279,7 @@ class Finder
/**
* Executes function or method for each element.
*
* Element match if functino or method returns true.
* Element match if function or method returns true.
*
* $finder->exec('myfunction');
* $finder->exec(array($object, 'mymethod'));

View File

@ -50,7 +50,7 @@ class Glob
}
/**
* Returns a compiled regex which is the equiavlent of the globbing pattern.
* Returns a compiled regex which is the equivalent of the globbing pattern.
*
* @param string $glob pattern
* @return string regex