Фиксим мелкие ошибки.

This commit is contained in:
2023-04-01 14:47:32 +03:00
parent c41f36644c
commit d82a2e3103
14 changed files with 1005 additions and 1412 deletions
+9 -3
View File
@@ -2,10 +2,16 @@
class Dialog
{
private $info;
public $dText = '', $aText = '', $youInfo = '', $botInfo = '', $title = '', $p = 1, $pg = 1;
private array $info;
public string $dText = '';
public string $aText = '';
public string $youInfo = '';
public string $botInfo = '';
public string $title = '';
public int $p = 1;
public int $pg = 1;
public function trnObj($x, $j)
public function trnObj($x, $j): array
{
$i = floor($x / $j);
return [0 => $i, 1 => $x - ($i * $j)];