public function getByInn($inn): array
{
try {
$limit = 8;
$selectQuery = $this->db->prepare('SELECT * FROM users WHERE inn = :inn LIMIT :limit');
$selectQuery->execute(['limit' => $limit, 'inn' => $inn]);
$row = $selectQuery->fetchAll();
return $row;
} catch (PDOException $e) {
echo $e->getMessage();
}
}