Skip to content

Commit 1209d32

Browse files
committed
Improve README and fix a typo
Signed-off-by: William Desportes <[email protected]>
1 parent 6b42052 commit 1209d32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ echo $flags['querytype'];
7575
### Parsing and building SQL query
7676

7777
```php
78-
require __DIR__."/vendor/autoload.php";
78+
require __DIR__ . '/vendor/autoload.php';
7979

8080
$query1 = "select * from a";
8181
$parser = new PhpMyAdmin\SqlParser\Parser($query1);
@@ -107,7 +107,7 @@ You can localize error messages installing `phpmyadmin/motranslator` version `3.
107107
composer require phpmyadmin/motranslator:^3.0
108108
```
109109

110-
The locale is automatically detected from your enrivonment, you can also set a different locale
110+
The locale is automatically detected from your environment, you can also set a different locale
111111

112112
**From cli**:
113113
```sh
@@ -116,7 +116,7 @@ LC_ALL=pl ./vendor/bin/lint-query --query "SELECT 1"
116116

117117
**From php**:
118118
```php
119-
require __DIR__."/vendor/autoload.php";
119+
require __DIR__ . '/vendor/autoload.php';
120120

121121
$GLOBALS['lang'] = 'pl';
122122

0 commit comments

Comments
 (0)