fixed double `use`

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2025-01-28 14:58:27 +07:00
parent 273cc1ac2d
commit 1ea9c1f41f

View File

@ -12,17 +12,17 @@ Lightweight binary database by pure PHP<br>
```php ```php
<?php <?php
use use mirzaev\baza\database, use mirzaev\baza\database,
mirzaev\baza\column, mirzaev\baza\column,
mirzaev\baza\record, mirzaev\baza\record,
mirzaev\baza\enumerations\encoding, mirzaev\baza\enumerations\encoding,
mirzaev\baza\enumerations\type; mirzaev\baza\enumerations\type;
// Initializing the database // Initializing the database
$database = new database() $database = new database()
->encoding(encoding::utf8) ->encoding(encoding::utf8)
->columns( ->columns(
new column('name', type::string, ['length' => 32]), new column('name', type::string, ['length' => 32]),
new column('second_name', type::string, ['length' => 64]), new column('second_name', type::string, ['length' => 64]),
new column('age', type::integer), new column('age', type::integer),
new column('height', type::float) new column('height', type::float)