Skip to content

Commit

Permalink
Fix some typos (#475)
Browse files Browse the repository at this point in the history
Found few misspellings.

Signed-off-by: Viktor Szépe <[email protected]>
  • Loading branch information
szepeviktor authored Jan 19, 2025
1 parent c8b581f commit c1b8a89
Show file tree
Hide file tree
Showing 26 changed files with 60 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function home(): string
</ul>
<div>
<strong>Registred Engines</strong>: $engineNames
<strong>Registered Engines</strong>: $engineNames
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion .examples/mezzio/src/App/src/Handler/SearchHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function handle(ServerRequestInterface $request): ResponseInterface
</ul>
<div>
<strong>Registred Engines</strong>: $engineNames
<strong>Registered Engines</strong>: $engineNames
</div>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion .examples/spiral/app/src/Endpoint/Web/SearchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function index(): string
</ul>
<div>
<strong>Registred Engines</strong>: $engineNames
<strong>Registered Engines</strong>: $engineNames
</div>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion .examples/symfony/src/Controller/SearchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function home(EngineRegistry $engineRegistry): Response
</ul>
<div>
<strong>Registred Engines</strong>: $engineNames
<strong>Registered Engines</strong>: $engineNames
</div>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion .examples/yii/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The application template has the following structure:
```
config/ Configuration files.
docs/ Documentation.
public/ Files publically accessible from the Internet.
public/ Files publicly accessible from the Internet.
assets/ Published assets.
index.php Entry script.
resources/ Application resources.
Expand Down
2 changes: 1 addition & 1 deletion .examples/yii/src/Controller/SearchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function home(): ResponseInterface
</ul>
<div>
<strong>Registred Engines</strong>: $engineNames
<strong>Registered Engines</strong>: $engineNames
</div>
</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion docs/_templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<div>
<a class="muted-link" target="_blank" href="https://github.com/{{ github_user }}/{{ github_repo }}/edit/{{ github_version }}{{ conf_py_path }}{{ pagename }}.rst" style="font-size: 12px; display: inline-flex; gap: 8px; align-items: center;">
Edit on Github
Edit on GitHub

<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16" style="width: 16px;">
<path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path>
Expand Down
2 changes: 1 addition & 1 deletion docs/cookbooks/create-own-adapter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,6 @@ If all tests are green you can be sure that your implementation works like expec
You can publish your own adapter also as a composer package if you want to make it public available.

Tag the packagist package with `seal-adapter <https://packagist.org/search/?tags=seal-adapter>`__
and your use the Github Topic `seal-php-adapter <https://github.com/topics/seal-php-adapter>`__.
and your use the GitHub Topic `seal-php-adapter <https://github.com/topics/seal-php-adapter>`__.

This way also other can easily find your own created adapter.
2 changes: 1 addition & 1 deletion docs/cookbooks/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Cookbooks

This section contain a collection of recipes for other tasks.

Let us know via the issue tracker on our `Github Repository <https://github.com/php-cmsig/search>`_.
Let us know via the issue tracker on our `GitHub Repository <https://github.com/php-cmsig/search>`_.
if you have a recipe you would like to see here.

This can go over creating a basic search page in your favorite framework,
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ Help needed?
------------

If you need any help or run into any error feel free to use the
`Github Discussions <https://github.com/php-cmsig/search/discussions/categories/q-a>`_
`GitHub Discussions <https://github.com/php-cmsig/search/discussions/categories/q-a>`_
of the main repository to ask any questions. Or check there if
somebody already solved the same problem.

Expand Down
2 changes: 1 addition & 1 deletion docs/indexing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ Bulk operations

Currently no bulk operations are implemented. Add your opinion to the
`Bulk issue <https://github.com/php-cmsig/search/issues/24>`_
on Github.
on GitHub.

Next Steps
----------
Expand Down
2 changes: 1 addition & 1 deletion docs/research/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Sonic
Describe itself as lightweight & schema-less search backend, an alternative to Elasticsearch that runs on a few MBs of RAM.

- Server: `Sonic Server <https://github.com/valeriansaliou/sonic>`__
- PHP Client: `Unoffical PHP Sonic <https://github.com/php-sonic/php-sonic>`_ looks outdated and not well maintained
- PHP Client: `Unofficial PHP Sonic <https://github.com/php-sonic/php-sonic>`_ looks outdated and not well maintained

Vespa
~~~~~
Expand Down
8 changes: 4 additions & 4 deletions docs/schema/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ via ``multiple`` and define different types for it.
Create and Drop a Schema
------------------------

After you have defined your ``Schema`` with one or multple ``Indexes`` you need to create based on your used
After you have defined your ``Schema`` with one or multiple ``Indexes`` you need to create based on your used
integration the ``Indexes`` over the following way:

.. tabs::
Expand Down Expand Up @@ -646,13 +646,13 @@ A whole complex example ``Index`` with different types of ``Fields`` for documen
'blocks' => [
[
'type' => 'text',
'title' => 'Titel',
'title' => 'Title',
'description' => '<p>Description</p>',
'media' => [3, 4],
],
[
'type' => 'text',
'title' => 'Titel 2',
'title' => 'Title 2',
],
[
'type' => 'embed',
Expand All @@ -661,7 +661,7 @@ A whole complex example ``Index`` with different types of ``Fields`` for documen
],
[
'type' => 'text',
'title' => 'Titel 4',
'title' => 'Title 4',
'description' => '<p>Description 4</p>',
'media' => [3, 4],
],
Expand Down
6 changes: 3 additions & 3 deletions docs/search-and-filters/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ The field is required to be marked as ``filterable`` in the index configuration.
.. note::

The ``GeoBoundingBoxCondition`` is currently not supported by ``Redisearch`` adapter.
See `this Github Issue <https://github.com/RediSearch/RediSearch/issues/680>`__ for more information.
See `this GitHub Issue <https://github.com/RediSearch/RediSearch/issues/680>`__ for more information.

OrCondition
~~~~~~~~~~~
Expand Down Expand Up @@ -264,7 +264,7 @@ The fields are required to be marked as ``filterable`` in the index configuratio
.. note::

If the ``Algolia`` Adapter is used not all kind of combination with ``OrCondition`` are possible.
See `this Github Issue <https://github.com/algolia/algoliasearch-client-php/issues/385>`__ for more information.
See `this GitHub Issue <https://github.com/algolia/algoliasearch-client-php/issues/385>`__ for more information.

Filter on Objects and Typed Fields
----------------------------------
Expand Down Expand Up @@ -404,4 +404,4 @@ to manage Indexes, add and remove Documents and how to search and filter the res
now be ready to start using the abstraction for your different kind of needs.

Missing something? Let us know by creating an issue
on our `Github Repository <https://github.com/php-cmsig/search>`_.
on our `GitHub Repository <https://github.com/php-cmsig/search>`_.
2 changes: 1 addition & 1 deletion integrations/laravel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Additional Wrapper adapters:
- [ReadWriteAdapter](../../packages/seal-read-write-adapter): `cmsig/seal-read-write-adapter`
- [MultiAdapter](../../packages/seal-multi-adapter): `cmsig/seal-multi-adapter`

Creating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your Github Repository.
Creating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your GitHub Repository.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion integrations/mezzio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Additional Wrapper adapters:
- [ReadWriteAdapter](../../packages/seal-read-write-adapter): `cmsig/seal-read-write-adapter`
- [MultiAdapter](../../packages/seal-multi-adapter): `cmsig/seal-multi-adapter`

Creating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your Github Repository.
Creating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your GitHub Repository.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion integrations/mezzio/src/Service/SealContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function get($id): mixed

/**
* We need a setter for the services, because the AdapterFactories requiries the container but
* need to have possibility to access other dynamicly created adapters inside the Read-Write
* need to have possibility to access other dynamically created adapters inside the Read-Write
* and Multi adapter factories.
*
* @param class-string|string $id
Expand Down
2 changes: 1 addition & 1 deletion integrations/spiral/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Additional Wrapper adapters:
- [ReadWriteAdapter](../../packages/seal-read-write-adapter): `cmsig/seal-read-write-adapter`
- [MultiAdapter](../../packages/seal-multi-adapter): `cmsig/seal-multi-adapter`

Creating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your Github Repository.
Creating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your GitHub Repository.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion integrations/symfony/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Additional Wrapper adapters:
- [ReadWriteAdapter](../../packages/seal-read-write-adapter): `cmsig/seal-read-write-adapter`
- [MultiAdapter](../../packages/seal-multi-adapter): `cmsig/seal-multi-adapter`

Creating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your Github Repository.
Creating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your GitHub Repository.

## Configuration

Expand Down
2 changes: 1 addition & 1 deletion integrations/yii/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Additional Wrapper adapters:
- [ReadWriteAdapter](../../packages/seal-read-write-adapter): `cmsig/seal-read-write-adapter`
- [MultiAdapter](../../packages/seal-multi-adapter): `cmsig/seal-multi-adapter`

Creating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your Github Repository.
Creating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your GitHub Repository.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/seal/src/Marshaller/Marshaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ private function unmarshallGeoPointField(array $document, Field\GeoPointField $f

$separator = $this->geoPointFieldConfig['separator'] ?? false;
if ($separator) {
\assert(\is_string($value), 'Expected to have a string value for a seperated geo point field.');
\assert(\is_string($value), 'Expected to have a string value for a separated geo point field.');
$value = \explode($separator, $value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class GeoBoundingBoxCondition
{
/**
* The order may first be unusally, but it is the same as in common JS libraries like.
* The order may first be unusually, but it is the same as in common JS libraries like.
*
* @see https://docs.mapbox.com/help/glossary/bounding-box/
* @see https://developers.google.com/maps/documentation/javascript/reference/coordinates#LatLngBounds
Expand Down
2 changes: 1 addition & 1 deletion packages/seal/src/Testing/TaskHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use CmsIg\Seal\Task\TaskInterface;

/**
* @interal
* @internal
*/
final class TaskHelper
{
Expand Down
6 changes: 3 additions & 3 deletions packages/seal/src/Testing/TestingHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ public static function createComplexFixtures(): array
'blocks' => [
[
'type' => 'text',
'title' => 'Titel',
'title' => 'Title',
'description' => '<p>Description</p>',
'media' => [3, 4],
],
[
'type' => 'text',
'title' => 'Titel 2',
'title' => 'Title 2',
],
[
'type' => 'embed',
Expand All @@ -144,7 +144,7 @@ public static function createComplexFixtures(): array
],
[
'type' => 'text',
'title' => 'Titel 4',
'title' => 'Title 4',
'description' => '<p>Description 4</p>',
'media' => [3, 4],
],
Expand Down
Loading

0 comments on commit c1b8a89

Please sign in to comment.