File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ interface GridInterface
1616 * Create the grid
1717 *
1818 * @param array $params
19- * @return GridInterface
19+ * @return $this
2020 */
21- public function create (array $ params ): GridInterface ;
21+ public function create (array $ params ): self ;
2222
2323 /**
2424 * Initialize grid variables
Original file line number Diff line number Diff line change @@ -86,9 +86,9 @@ public function shouldRenderSearchForm(): bool
8686 /**
8787 * Define rendering of the search form
8888 *
89- * @return GridInterface
89+ * @return $this
9090 */
91- public function withoutSearchForm (): GridInterface
91+ public function withoutSearchForm (): self
9292 {
9393 $ this ->shouldRenderSearchForm = false ;
9494 return $ this ;
@@ -98,9 +98,9 @@ public function withoutSearchForm(): GridInterface
9898 * Define a custom layout/template to use when rendering the grid
9999 *
100100 * @param string $layout
101- * @return GridInterface
101+ * @return $this
102102 */
103- public function withCustomTemplate (string $ layout ): GridInterface
103+ public function withCustomTemplate (string $ layout ): self
104104 {
105105 $ this ->templateToUseForRendering = $ layout ;
106106 return $ this ;
@@ -109,9 +109,9 @@ public function withCustomTemplate(string $layout): GridInterface
109109 /**
110110 * Define rendering of the filters
111111 *
112- * @return GridInterface
112+ * @return $this
113113 */
114- public function withoutFilters (): GridInterface
114+ public function withoutFilters (): self
115115 {
116116 $ this ->shouldRenderFilters = false ;
117117 return $ this ;
You can’t perform that action at this time.
0 commit comments