Убрано дублирование кода.

This commit is contained in:
2023-08-14 16:37:37 +03:00
parent 63be6c94b3
commit 81a8161d32
6 changed files with 55 additions and 64 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
namespace Model;
use Core\Db;
class Effect
{
public static function getAllbyId(int $id)
{
return Db::getRow('select * from eff_main where id2 = ?', [$id]);
}
}