diff --git a/src/RowInterfaceProvider.php b/src/RowInterfaceProvider.php index 11f8ec3..5e56b32 100644 --- a/src/RowInterfaceProvider.php +++ b/src/RowInterfaceProvider.php @@ -12,7 +12,7 @@ use Ray\Query\Exception\SqlFileNotFoundException; use Throwable; -/** @implements ProviderInterface */ +/** @implements ProviderInterface */ final class RowInterfaceProvider implements ProviderInterface { /** @var InjectionPointInterface */ @@ -37,7 +37,7 @@ public function __construct( $this->injector = $injector; } - public function get(): SqlQueryRow + public function get(): QueryInterface { try { $sql = ($this->finder)($this->ip->getParameter()); diff --git a/src/RowListInterfaceProvider.php b/src/RowListInterfaceProvider.php index 53ded0d..11c89f9 100644 --- a/src/RowListInterfaceProvider.php +++ b/src/RowListInterfaceProvider.php @@ -11,7 +11,7 @@ use Ray\Di\ProviderInterface; use Ray\Query\Exception\SqlFileNotFoundException; -/** @implements ProviderInterface */ +/** @implements ProviderInterface */ final class RowListInterfaceProvider implements ProviderInterface { /** @var InjectionPointInterface */