File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -975,9 +975,9 @@ protected function setupKeyword(string $value): string
975
975
*
976
976
* @param int $index
977
977
* @param bool $wantsAlias
978
- * @return string
978
+ * @return string|null
979
979
*/
980
- protected function getColumnName (int $ index , bool $ wantsAlias = false ): string
980
+ protected function getColumnName (int $ index , bool $ wantsAlias = false ): ? string
981
981
{
982
982
$ column = $ this ->request ->columnName ($ index );
983
983
Original file line number Diff line number Diff line change @@ -224,14 +224,14 @@ public function keyword(): string
224
224
* Get column identity from input or database.
225
225
*
226
226
* @param int $i
227
- * @return string
227
+ * @return string|null
228
228
*/
229
- public function columnName (int $ i ): string
229
+ public function columnName (int $ i ): ? string
230
230
{
231
231
/** @var string[] $column */
232
232
$ column = $ this ->request ->input ("columns. $ i " );
233
233
234
- return isset ($ column ['name ' ]) && $ column ['name ' ] != '' ? $ column ['name ' ] : $ column ['data ' ];
234
+ return ( isset ($ column ['name ' ]) && $ column ['name ' ] != '' ) ? $ column ['name ' ] : $ column ['data ' ];
235
235
}
236
236
237
237
/**
You can’t perform that action at this time.
0 commit comments