Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
phphleb committed Sep 10, 2024
1 parent 531b12c commit 18a954f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Reference/DbInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ interface DbInterface
* ```php
* $arr = [1,2,3];
* $in = str_repeat('?,', count($arr) - 1) . '?';
* $row = $db->run("SELECT * FROM table_name WHERE column IN ($in)", $in)->fetch();
* $row = $db->run("SELECT * FROM table_name WHERE column IN ($in)", $arr)->fetch();
*```
*
* ## Примеры обращения
Expand Down Expand Up @@ -106,7 +106,7 @@ interface DbInterface
* ```php
* $arr = [1,2,3];
* $in = str_repeat('?,', count($arr) - 1) . '?';
* $row = $db->run("SELECT * FROM table_name WHERE column IN ($in)", $in)->fetch();
* $row = $db->run("SELECT * FROM table_name WHERE column IN ($in)", $arr)->fetch();
*```
* @param string|null $configKey - select the type of connection.
* - выбор типа соединения.
Expand Down
4 changes: 2 additions & 2 deletions Static/DB.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ final class DB extends BaseAsyncSingleton
* ```php
* $arr = [1,2,3];
* $in = str_repeat('?,', count($arr) - 1) . '?';
* $row = DB::run("SELECT * FROM table_name WHERE column IN ($in)", $in)->fetch();
* $row = DB::run("SELECT * FROM table_name WHERE column IN ($in)", $arr)->fetch();
*```
*
* ## Примеры обращения
Expand Down Expand Up @@ -116,7 +116,7 @@ final class DB extends BaseAsyncSingleton
* ```php
* $arr = [1,2,3];
* $in = str_repeat('?,', count($arr) - 1) . '?';
* $row = DB::run("SELECT * FROM table_name WHERE column IN ($in)", $in)->fetch();
* $row = DB::run("SELECT * FROM table_name WHERE column IN ($in)", $arr)->fetch();
*```
* @param string|null $configKey - select the type of connection.
* - выбор типа соединения.
Expand Down

0 comments on commit 18a954f

Please sign in to comment.