瀏覽代碼

fixed spelling typo

pborreli 15 年之前
父節點
當前提交
7c628a98d2

+ 1 - 1
src/Symfony/Components/DependencyInjection/Dumper/YamlDumper.php

@@ -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)
   {

+ 1 - 1
src/Symfony/Components/DependencyInjection/Loader/LoaderExtensionInterface.php

@@ -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.
    *

+ 1 - 1
src/Symfony/Components/OutputEscaper/ArrayDecorator.php

@@ -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
    */

+ 2 - 2
src/Symfony/Components/OutputEscaper/IteratorDecorator.php

@@ -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
    */

+ 1 - 1
src/Symfony/Components/Routing/CompiledRoute.php

@@ -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
    */

+ 1 - 1
src/Symfony/Components/Routing/Loader/YamlFileLoader.php

@@ -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)
   {

+ 1 - 1
src/Symfony/Components/Yaml/Inline.php

@@ -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)
   {

+ 1 - 1
src/Symfony/Foundation/EventDispatcher.php

@@ -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

+ 1 - 1
src/Symfony/Framework/DoctrineBundle/Command/DoctrineCommand.php

@@ -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

+ 3 - 3
src/Symfony/Framework/ProfilerBundle/DataCollector/DataCollectorManager.php

@@ -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);
   }
 }

+ 1 - 1
src/Symfony/Framework/SwiftmailerBundle/DependencyInjection/SwiftmailerExtension.php

@@ -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.
    *

+ 1 - 1
src/Symfony/Framework/WebBundle/Util/Filesystem.php

@@ -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.
    *

+ 2 - 2
src/Symfony/Framework/WebBundle/Util/Finder.php

@@ -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'));

+ 1 - 1
src/Symfony/Framework/WebBundle/Util/Glob.php

@@ -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