Browse Source

[Various] Fixed typos

Pascal Borreli 14 years ago
parent
commit
50d5e3e007

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Mapping/Driver/XmlDriver.php

@@ -15,7 +15,7 @@ use Doctrine\ORM\Mapping\MappingException;
 use Doctrine\ORM\Mapping\Driver\XmlDriver as BaseXmlDriver;
 
 /**
- * XmlDriver that additionnaly looks for mapping information in a global file.
+ * XmlDriver that additionally looks for mapping information in a global file.
  *
  * @author Fabien Potencier <fabien@symfony.com>
  */

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Mapping/Driver/YamlDriver.php

@@ -15,7 +15,7 @@ use Doctrine\ORM\Mapping\MappingException;
 use Doctrine\ORM\Mapping\Driver\YamlDriver as BaseYamlDriver;
 
 /**
- * YamlDriver that additionnaly looks for mapping information in a global file.
+ * YamlDriver that additionally looks for mapping information in a global file.
  *
  * @author Fabien Potencier <fabien@symfony.com>
  */

+ 2 - 2
src/Symfony/Bundle/DoctrineBundle/Tests/Mapping/Driver/AbstractDriverTest.php

@@ -65,9 +65,9 @@ abstract class AbstractDriverTest extends \PHPUnit_Framework_TestCase
 
     protected function tearDown()
     {
-        $iter = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($this->dir), \RecursiveIteratorIterator::CHILD_FIRST);
+        $iterator = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($this->dir), \RecursiveIteratorIterator::CHILD_FIRST);
 
-        foreach ($iter as $path) {
+        foreach ($iterator as $path) {
             if ($path->isDir()) {
                 @rmdir($path);
             } else {

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Tests/Debug/TraceableEventDispactherTest.php

@@ -14,7 +14,7 @@ namespace Symfony\Bundle\FrameworkBundle\Tests\Debug;
 use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
 use Symfony\Bundle\FrameworkBundle\Debug\TraceableEventDispatcher;
 
-class TraceableEventDispactherTest extends TestCase
+class TraceableEventDispatcherTest extends TestCase
 {
 
     /**

+ 1 - 1
src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php

@@ -237,7 +237,7 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition
     }
 
     /**
-     * Returns a node builder to be used to add children and protoype
+     * Returns a node builder to be used to add children and prototype
      *
      * @return NodeBuilder The node builder
      */

+ 1 - 1
src/Symfony/Component/Console/Formatter/OutputFormatter.php

@@ -155,7 +155,7 @@ class OutputFormatter implements OutputFormatterInterface
     }
 
     /**
-     * Tryes to create new style instance from string.
+     * Tries to create new style instance from string.
      *
      * @param   string  $string
      *

+ 1 - 1
src/Symfony/Component/Locale/Stub/StubCollator.php

@@ -188,7 +188,7 @@ class StubCollator
     }
 
     /**
-     * Get current collator's strenght
+     * Get current collator's strength
      *
      * @return Boolean|int   The current collator's strength or false on failure
      * @see    http://www.php.net/manual/en/collator.getstrength.php

+ 1 - 1
src/Symfony/Component/Locale/Stub/StubNumberFormatter.php

@@ -674,7 +674,7 @@ class StubNumberFormatter
      * Check if the attribute is initialized (value set by client code).
      *
      * @param  string  $attr   The attribute name
-     * @return Boolean         true if the value was set by cliente, false otherwise
+     * @return Boolean         true if the value was set by client, false otherwise
      */
     private function isInitializedAttribute($attr)
     {