Fix some typos

This commit is contained in:
Rotzbua 2023-09-17 22:54:49 +02:00
parent 094604a87c
commit 51c68655fb
9 changed files with 11 additions and 11 deletions

View file

@ -21,7 +21,7 @@ import './global.scss';
import './js/shortcuts/entry'; import './js/shortcuts/entry';
import './js/shortcuts/main'; import './js/shortcuts/main';
/* Hightlight */ /* Highlight */
import './js/highlight'; import './js/highlight';
import { savePercent, retrievePercent } from './js/tools'; import { savePercent, retrievePercent } from './js/tools';

View file

@ -5,7 +5,7 @@ parameters:
test_database_name: ~ test_database_name: ~
test_database_user: ~ test_database_user: ~
test_database_password: ~ test_database_password: ~
# Using an environnement variable in order to avoid the error "attempt to write a readonly database" # Using an environment variable in order to avoid the error "attempt to write a readonly database"
# when the schema is dropped then recreate # when the schema is dropped then recreate
test_database_path: "%env(TEST_DATABASE_PATH)%" test_database_path: "%env(TEST_DATABASE_PATH)%"
env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite" env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite"

View file

@ -123,7 +123,7 @@ class AnnotationRepository extends ServiceEntityRepository
/** /**
* Remove all annotations for a user id. * Remove all annotations for a user id.
* Used when a user want to reset all informations. * Used when a user wants to reset all information.
* *
* @param int $userId * @param int $userId
*/ */

View file

@ -22,11 +22,11 @@ use Wallabag\UserBundle\Form\NewUserType;
class UserRestController extends WallabagRestController class UserRestController extends WallabagRestController
{ {
/** /**
* Retrieve current logged in user informations. * Retrieve current logged in user information.
* *
* @Operation( * @Operation(
* tags={"User"}, * tags={"User"},
* summary="Retrieve current logged in user informations.", * summary="Retrieve current logged in user information.",
* @OA\Response( * @OA\Response(
* response="200", * response="200",
* description="Returned when successful", * description="Returned when successful",

View file

@ -115,7 +115,7 @@ class InstallCommand extends Command
$rows[] = [sprintf($label, $this->databaseDriver), $status, $help]; $rows[] = [sprintf($label, $this->databaseDriver), $status, $help];
// testing if connection to the database can be etablished // testing if connection to the database can be established
$label = '<comment>Database connection</comment>'; $label = '<comment>Database connection</comment>';
$status = '<info>OK!</info>'; $status = '<info>OK!</info>';
$help = ''; $help = '';
@ -415,7 +415,7 @@ class InstallCommand extends Command
/** /**
* Check if the schema is already created. * Check if the schema is already created.
* If we found at least oen table, it means the schema exists. * If we found at least one table, it means the schema exists.
* *
* @return bool * @return bool
*/ */

View file

@ -9,7 +9,7 @@ use Doctrine\ORM\Mapping\ClassMetadataInfo;
/** /**
* Puts a prefix to each table. * Puts a prefix to each table.
* This way were used instead of using the built-in strategy from Doctrine, using `naming_strategy` * This way were used instead of using the built-in strategy from Doctrine, using `naming_strategy`
* Because it conflicts with the DefaultQuoteStrategy (that espace table name, like user for Postgres) * Because it conflicts with the DefaultQuoteStrategy (that escape table name, like user for Postgres)
* see #1498 for more detail. * see #1498 for more detail.
* *
* Solution from : * Solution from :

View file

@ -520,7 +520,7 @@ class EntryRepository extends ServiceEntityRepository
/** /**
* Remove all entries for a user id. * Remove all entries for a user id.
* Used when a user want to reset all informations. * Used when a user wants to reset all information.
* *
* @param int $userId * @param int $userId
*/ */

View file

@ -218,7 +218,7 @@ abstract class AbstractImport implements ImportInterface
/** /**
* Set current imported entry to archived / read. * Set current imported entry to archived / read.
* Implementation is different accross all imports. * Implementation is different across all imports.
* *
* @return array * @return array
*/ */

File diff suppressed because one or more lines are too long