Skip to content

Commit 70cc851

Browse files
author
Martynas Sudintas
committed
Merge pull request #363 from chyzas/patch-typos
Fixed typos
2 parents 4a6dcfc + 99ac6ce commit 70cc851

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

Annotation/AbstractProperty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use ONGR\ElasticsearchBundle\Mapping\DumperInterface;
1616

1717
/**
18-
* Makes sure thats annotations are well formated.
18+
* Makes sure that annotations are well formatted.
1919
*/
2020
abstract class AbstractProperty implements DumperInterface
2121
{

Client/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ public function setMapping($type, array $mapping)
466466
* Sets multiple mappings.
467467
*
468468
* @param array $mapping Mapping to set.
469-
* @param bool $cleanUp Cleans currect mapping.
469+
* @param bool $cleanUp Cleans current mapping.
470470
*/
471471
public function setMultipleMapping(array $mapping, $cleanUp = false)
472472
{
@@ -588,7 +588,7 @@ public function clearCache()
588588
}
589589

590590
/**
591-
* Adds warmer to conatiner.
591+
* Adds warmer to container.
592592
*
593593
* @param WarmerInterface $warmer
594594
*/

DSL/Search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ public function addSort(AbstractSort $sort)
365365
}
366366

367367
/**
368-
* Returns currectly contained sorts object.
368+
* Returns sorts object.
369369
*
370370
* @return Sorts
371371
*/

DSL/SearchEndpoint/SearchEndpointInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface SearchEndpointInterface extends NormalizableInterface
3131
public function addBuilder(BuilderInterface $builder, $parameters = []);
3232

3333
/**
34-
* Returns currectly contained builder.
34+
* Returns contained builder.
3535
*
3636
* @return BuilderInterface|BuilderInterface[]
3737
*/

DependencyInjection/ONGRElasticsearchExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function load(array $configs, ContainerBuilder $container)
4040
$container->setParameter('es.managers', $config['managers']);
4141

4242
$this->addDocumentFinderDefinition($config, $container);
43-
$this->addMedadataCollectorDefinition($config, $container);
43+
$this->addMetadataCollectorDefinition($config, $container);
4444
$this->addDocumentsResource($config, $container);
4545
$this->addDataCollectorDefinition($config, $container);
4646

@@ -75,7 +75,7 @@ private function addDocumentFinderDefinition(array $config, ContainerBuilder $co
7575
* @param array $config
7676
* @param ContainerBuilder $container
7777
*/
78-
private function addMedadataCollectorDefinition(array $config, ContainerBuilder $container)
78+
private function addMetadataCollectorDefinition(array $config, ContainerBuilder $container)
7979
{
8080
$cachedReader = new Definition(
8181
'Doctrine\Common\Annotations\FileCacheReader',

Event/Events.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ final class Events
3131
const POST_PERSIST = 'es.post_persist';
3232

3333
/**
34-
* Event dispatched before data are commited.
34+
* Event dispatched before data are committed.
3535
*
3636
* The event listener receives an ElasticsearchCommitEvent instance.
3737
*/
3838
const PRE_COMMIT = 'es.pre_commit';
3939

4040
/**
41-
* Event dispatched after data are commited.
41+
* Event dispatched after data are committed.
4242
*
4343
* The event listener receives an ElasticsearchCommitEvent instance.
4444
*/

Resources/doc/guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Beginners guide
22
===============
33

4-
Befor starting this, you should have already installed:
4+
Before starting this, you should have already installed:
55

66
Text editor (`PhpStorm <https://www.jetbrains.com/phpstorm/download/>`_ or `Vim <http://vim.en.softonic.com/>`_, or `SublimeText <http://www.sublimetext.com/2>`_, or `BlueFish <http://bluefish.openoffice.nl/download.html>`_ or other..),
77

Serializer/Normalizer/OrderedNormalizerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace ONGR\ElasticsearchBundle\Serializer\Normalizer;
1313

1414
/**
15-
* This should be implemented by normalizaible object that required to be processed in specific order.
15+
* This should be implemented by normalizable object that required to be processed in specific order.
1616
*/
1717
interface OrderedNormalizerInterface
1818
{

0 commit comments

Comments
 (0)