From 36d060f5cd9b63f4924b20c6031f94c60f62f909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20de=20Guillebon?= Date: Thu, 14 Dec 2023 15:58:35 +0100 Subject: [PATCH] refactor: improve return type-hints for static analysis (#1102) --- Grid/GridBuilderInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grid/GridBuilderInterface.php b/Grid/GridBuilderInterface.php index 1cf1ce76..25a3dbec 100644 --- a/Grid/GridBuilderInterface.php +++ b/Grid/GridBuilderInterface.php @@ -18,7 +18,7 @@ interface GridBuilderInterface * @param string|Column $type * @param array $options * - * @return GridBuilderInterface + * @return static */ public function add($name, $type, array $options = []); @@ -36,7 +36,7 @@ public function get($name); * * @param string $name The name of column * - * @return GridBuilderInterface + * @return static */ public function remove($name);