type fixes

This commit is contained in:
Yuri Kuznetsov
2022-03-08 12:14:42 +02:00
parent b1cab62b95
commit f5a709fd56
3 changed files with 10 additions and 11 deletions
+9 -9
View File
@@ -119,36 +119,36 @@ abstract class Base
}
/**
* @param string $processId
* @param array<string,mixed> $data
* @return mixed
*/
public function install($processId)
public function install($data)
{
$this->getActionManager()->setAction(self::INSTALL);
return $this->getActionManager()->run($processId);
return $this->getActionManager()->run($data);
}
/**
* @param string $processId
* @param array<string,mixed> $data
* @return mixed
*/
public function uninstall($processId)
public function uninstall($data)
{
$this->getActionManager()->setAction(self::UNINSTALL);
return $this->getActionManager()->run($processId);
return $this->getActionManager()->run($data);
}
/**
* @param string $processId
* @param array<string,mixed> $data
* @return mixed
*/
public function delete($processId)
public function delete($data)
{
$this->getActionManager()->setAction(self::DELETE);
return $this->getActionManager()->run($processId);
return $this->getActionManager()->run($data);
}
/**
@@ -98,7 +98,6 @@ class RDBRepository implements Repository
}
/** @var TEntity $entity */
return $entity;
}
@@ -100,7 +100,7 @@ class RDBSelectBuilder
{
$query = $this->getMergedParams($params);
/** @var Collection<TEntity> */
/** @var Collection<TEntity> $collection */
$collection = $this->getMapper()->select($query);
return $this->handleReturnCollection($collection);