diff --git a/Annotation/AbstractProperty.php b/Annotation/AbstractProperty.php index e0412c59..3647f9e6 100644 --- a/Annotation/AbstractProperty.php +++ b/Annotation/AbstractProperty.php @@ -15,7 +15,7 @@ use ONGR\ElasticsearchBundle\Mapping\DumperInterface; /** - * Makes sure thats annotations are well formated. + * Makes sure that annotations are well formatted. */ abstract class AbstractProperty extends AbstractAnnotationCamelizer implements DumperInterface { diff --git a/Client/Connection.php b/Client/Connection.php index bdf3a549..07a0520c 100644 --- a/Client/Connection.php +++ b/Client/Connection.php @@ -466,7 +466,7 @@ public function setMapping($type, array $mapping) * Sets multiple mappings. * * @param array $mapping Mapping to set. - * @param bool $cleanUp Cleans currect mapping. + * @param bool $cleanUp Cleans current mapping. */ public function setMultipleMapping(array $mapping, $cleanUp = false) { @@ -588,7 +588,7 @@ public function clearCache() } /** - * Adds warmer to conatiner. + * Adds warmer to container. * * @param WarmerInterface $warmer */ diff --git a/DSL/Search.php b/DSL/Search.php index 0c9b7d5d..f54c7d29 100644 --- a/DSL/Search.php +++ b/DSL/Search.php @@ -365,7 +365,7 @@ public function addSort(AbstractSort $sort) } /** - * Returns currectly contained sorts object. + * Returns sorts object. * * @return Sorts */ diff --git a/DSL/SearchEndpoint/SearchEndpointInterface.php b/DSL/SearchEndpoint/SearchEndpointInterface.php index 83139eb9..ed17cb9a 100644 --- a/DSL/SearchEndpoint/SearchEndpointInterface.php +++ b/DSL/SearchEndpoint/SearchEndpointInterface.php @@ -31,7 +31,7 @@ interface SearchEndpointInterface extends NormalizableInterface public function addBuilder(BuilderInterface $builder, $parameters = []); /** - * Returns currectly contained builder. + * Returns contained builder. * * @return BuilderInterface|BuilderInterface[] */ diff --git a/DependencyInjection/ONGRElasticsearchExtension.php b/DependencyInjection/ONGRElasticsearchExtension.php index 10db63c1..b2a8e133 100644 --- a/DependencyInjection/ONGRElasticsearchExtension.php +++ b/DependencyInjection/ONGRElasticsearchExtension.php @@ -40,7 +40,7 @@ public function load(array $configs, ContainerBuilder $container) $container->setParameter('es.managers', $config['managers']); $this->addDocumentFinderDefinition($config, $container); - $this->addMedadataCollectorDefinition($config, $container); + $this->addMetadataCollectorDefinition($config, $container); $this->addDocumentsResource($config, $container); $this->addDataCollectorDefinition($config, $container); @@ -75,7 +75,7 @@ private function addDocumentFinderDefinition(array $config, ContainerBuilder $co * @param array $config * @param ContainerBuilder $container */ - private function addMedadataCollectorDefinition(array $config, ContainerBuilder $container) + private function addMetadataCollectorDefinition(array $config, ContainerBuilder $container) { $cachedReader = new Definition( 'Doctrine\Common\Annotations\FileCacheReader', diff --git a/Event/Events.php b/Event/Events.php index 2f9ee850..ff086315 100644 --- a/Event/Events.php +++ b/Event/Events.php @@ -31,14 +31,14 @@ final class Events const POST_PERSIST = 'es.post_persist'; /** - * Event dispatched before data are commited. + * Event dispatched before data are committed. * * The event listener receives an ElasticsearchCommitEvent instance. */ const PRE_COMMIT = 'es.pre_commit'; /** - * Event dispatched after data are commited. + * Event dispatched after data are committed. * * The event listener receives an ElasticsearchCommitEvent instance. */ diff --git a/Resources/doc/guide.rst b/Resources/doc/guide.rst index 8307f40c..ab2f758b 100644 --- a/Resources/doc/guide.rst +++ b/Resources/doc/guide.rst @@ -1,7 +1,7 @@ Beginners guide =============== -Befor starting this, you should have already installed: +Before starting this, you should have already installed: Text editor (`PhpStorm `_ or `Vim `_, or `SublimeText `_, or `BlueFish `_ or other..), diff --git a/Serializer/Normalizer/OrderedNormalizerInterface.php b/Serializer/Normalizer/OrderedNormalizerInterface.php index d48d07c0..7a6c0342 100644 --- a/Serializer/Normalizer/OrderedNormalizerInterface.php +++ b/Serializer/Normalizer/OrderedNormalizerInterface.php @@ -12,7 +12,7 @@ namespace ONGR\ElasticsearchBundle\Serializer\Normalizer; /** - * This should be implemented by normalizaible object that required to be processed in specific order. + * This should be implemented by normalizable object that required to be processed in specific order. */ interface OrderedNormalizerInterface {