From f500af5df1896d5f7642a2a382ebead854a1e703 Mon Sep 17 00:00:00 2001 From: Nikita Date: Fri, 3 Jul 2020 12:43:38 +0300 Subject: [PATCH] fix filters --- src/AmoCRM/Filters/Interfaces/HasOrderInterface.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/AmoCRM/Filters/Interfaces/HasOrderInterface.php b/src/AmoCRM/Filters/Interfaces/HasOrderInterface.php index 75bd8eb6..606d41dc 100755 --- a/src/AmoCRM/Filters/Interfaces/HasOrderInterface.php +++ b/src/AmoCRM/Filters/Interfaces/HasOrderInterface.php @@ -2,8 +2,6 @@ namespace AmoCRM\Filters\Interfaces; -use AmoCRM\Filters\Traits\PagesFilterTrait; - /** * Интерфейс для фильтров, которые поддерживают постраничную навигацию * @package AmoCRM\Filters\Interfaces @@ -22,7 +20,7 @@ interface HasOrderInterface public function setOrder(string $field, string $direction = self::SORT_ASC); /** - * @return array + * @return null|array */ - public function getOrder(): array; + public function getOrder(): ?array; }