diff --git a/application/Espo/Core/Upgrades/Base.php b/application/Espo/Core/Upgrades/Base.php index fafc6c2ec1..8cac0695f0 100644 --- a/application/Espo/Core/Upgrades/Base.php +++ b/application/Espo/Core/Upgrades/Base.php @@ -119,36 +119,36 @@ abstract class Base } /** - * @param string $processId + * @param array $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 $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 $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); } /** diff --git a/application/Espo/ORM/Repository/RDBRepository.php b/application/Espo/ORM/Repository/RDBRepository.php index 499912a335..9ac3f61702 100644 --- a/application/Espo/ORM/Repository/RDBRepository.php +++ b/application/Espo/ORM/Repository/RDBRepository.php @@ -98,7 +98,6 @@ class RDBRepository implements Repository } /** @var TEntity $entity */ - return $entity; } diff --git a/application/Espo/ORM/Repository/RDBSelectBuilder.php b/application/Espo/ORM/Repository/RDBSelectBuilder.php index bebfa52959..f5be204a3c 100644 --- a/application/Espo/ORM/Repository/RDBSelectBuilder.php +++ b/application/Espo/ORM/Repository/RDBSelectBuilder.php @@ -100,7 +100,7 @@ class RDBSelectBuilder { $query = $this->getMergedParams($params); - /** @var Collection */ + /** @var Collection $collection */ $collection = $this->getMapper()->select($query); return $this->handleReturnCollection($collection);