瀏覽代碼

[Routing] fixed spelling errors in phpdoc

Sebastiaan Stok 13 年之前
父節點
當前提交
bbf7183ccb

+ 1 - 1
src/Symfony/Component/Routing/Generator/UrlGenerator.php

@@ -29,7 +29,7 @@ class UrlGenerator implements UrlGeneratorInterface
 {
     protected $context;
     protected $decodedChars = array(
-        // %2F is not valid in a URL, so we don't encode it (which is fine as the requirements explicitely allowed it)
+        // %2F is not valid in a URL, so we don't encode it (which is fine as the requirements explicitly allowed it)
         '%2F' => '/',
     );
 

+ 1 - 1
src/Symfony/Component/Routing/RouteCollection.php

@@ -17,7 +17,7 @@ use Symfony\Component\Config\Resource\ResourceInterface;
  * A RouteCollection represents a set of Route instances.
  *
  * When adding a route, it overrides existing routes with the
- * same name defined in theinstance or its children and parents.
+ * same name defined in the instance or its children and parents.
  *
  * @author Fabien Potencier <fabien@symfony.com>
  *