Преглед на файлове

[DoctrineMongoDBBundle] Fixed typo

Pascal Borreli преди 14 години
родител
ревизия
ecd3845b80

+ 1 - 1
src/Symfony/Bundle/DoctrineMongoDBBundle/CacheWarmer/HydratorCacheWarmer.php

@@ -39,7 +39,7 @@ class HydratorCacheWarmer implements CacheWarmerInterface
     }
 
     /**
-     * This cache warmer is not optional, without hydrators fatal error occour!
+     * This cache warmer is not optional, without hydrators fatal error occurs!
      *
      * @return false
      */

+ 1 - 1
src/Symfony/Bundle/DoctrineMongoDBBundle/CacheWarmer/ProxyCacheWarmer.php

@@ -39,7 +39,7 @@ class ProxyCacheWarmer implements CacheWarmerInterface
     }
 
     /**
-     * This cache warmer is not optional, without proxies fatal error occour!
+     * This cache warmer is not optional, without proxies fatal error occurs!
      *
      * @return false
      */

+ 2 - 2
src/Symfony/Bundle/DoctrineMongoDBBundle/Command/GenerateDocumentsDoctrineODMCommand.php

@@ -43,7 +43,7 @@ Alternatively, you can limit generation to a single document within a bundle:
 
   <info>./app/console doctrine:generate:documents "MyCustomBundle" --document="User"</info>
 
-You have to specifiy the shortname (without namespace) of the document you want to filter for.
+You have to specify the shortname (without namespace) of the document you want to filter for.
 EOT
         );
     }
@@ -66,7 +66,7 @@ EOT
 
                 if (strpos($metadata->name, $foundBundle->getNamespace()) === false) {
                     throw new \RuntimeException(
-                        "Document " . $metadata->name . " and bundle don't have a commont namespace, ".
+                        "Document " . $metadata->name . " and bundle don't have a common namespace, ".
                         "generation failed because the target directory cannot be detected.");
                 }
 

+ 1 - 1
src/Symfony/Bundle/DoctrineMongoDBBundle/Command/GenerateRepositoriesDoctrineODMCommand.php

@@ -60,7 +60,7 @@ EOT
                 if ($metadata->customRepositoryClassName) {
                     if (strpos($metadata->customRepositoryClassName, $foundBundle->getName()) === false) {
                         throw new \RuntimeException(
-                            "Repository " . $metadata->customRepositoryClassName . " and bundle don't have a commont namespace, ".
+                            "Repository " . $metadata->customRepositoryClassName . " and bundle don't have a common namespace, ".
                             "generation failed because the target directory cannot be detected.");
                     }
 

+ 2 - 2
src/Symfony/Bundle/DoctrineMongoDBBundle/DependencyInjection/DoctrineMongoDBExtension.php

@@ -299,8 +299,8 @@ class DoctrineMongoDBExtension extends AbstractDoctrineExtension
      *
      * There are two distinct configuration possibilities for mapping information:
      *
-     * 1. Specifiy a bundle and optionally details where the entity and mapping information reside.
-     * 2. Specifiy an arbitrary mapping location.
+     * 1. Specify a bundle and optionally details where the entity and mapping information reside.
+     * 2. Specify an arbitrary mapping location.
      *
      * @example
      *

+ 1 - 1
src/Symfony/Bundle/DoctrineMongoDBBundle/Tests/CacheWarmer/ProxyCacheWarmerTest.php

@@ -16,7 +16,7 @@ use Symfony\Bundle\DoctrineMongoDBBundle\CacheWarmer\ProxyCacheWarmer;
 class ProxyCacheWarmerTest extends \Symfony\Bundle\DoctrineMongoDBBundle\Tests\TestCase
 {
     /**
-     * This is not necessarily a good test, it doesnt generate any proxies
+     * This is not necessarily a good test, it doesn't generate any proxies
      * because there are none in the AnnotationsBundle. However that is
      * rather a task of doctrine to test. We touch the lines here and
      * verify that the container is called correctly for the relevant information.