File tree Expand file tree Collapse file tree
libraries/classes/Display Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3616,12 +3616,11 @@ private function getOffsets()
36163616 *
36173617 * @see getTable()
36183618 *
3619- * @param ResultInterface $dtResult the link id associated to the
3620- * query which results have to
3621- * be displayed
3622- * @param string $sortExpressionNoDirection sort expression without direction
3619+ * @param ResultInterface $dtResult the link id associated to the query
3620+ * which results have to be displayed
3621+ * @param string|null $sortExpressionNoDirection sort expression without direction
36233622 *
3624- * @return string|null html content, null if not found sorted column
3623+ * @return string
36253624 */
36263625 private function getSortedColumnMessage (
36273626 ResultInterface $ dtResult ,
@@ -3630,7 +3629,7 @@ private function getSortedColumnMessage(
36303629 $ fieldsMeta = $ this ->properties ['fields_meta ' ]; // To use array indexes
36313630
36323631 if (empty ($ sortExpressionNoDirection )) {
3633- return null ;
3632+ return '' ;
36343633 }
36353634
36363635 if (! str_contains ($ sortExpressionNoDirection , '. ' )) {
@@ -3655,7 +3654,7 @@ private function getSortedColumnMessage(
36553654 }
36563655
36573656 if ($ sortedColumnIndex === false ) {
3658- return null ;
3657+ return '' ;
36593658 }
36603659
36613660 // fetch first row of the result set
Original file line number Diff line number Diff line change 6060 },
6161 "scripts" : {
6262 "postinstall" : " yarn run build" ,
63- <<<<<<< HEAD
6463 "build" : " webpack" ,
65- =======
66- "build" : " yarn run css-compile --style=compressed && yarn run css-prefix && yarn run css-rtl && yarn run js-compile" ,
67- "css-compile" : " sass themes/pmahomme/scss:themes/pmahomme/css themes/original/scss:themes/original/css themes/metro/scss:themes/metro/css themes/bootstrap/scss:themes/bootstrap/css setup/scss:setup" ,
68- >>>>>>> QA_5_2
6964 "css-lint" : " stylelint -s scss \" themes/**/scss/*.scss\" \" setup/scss/*.scss\" " ,
7065 "js-lint" : " eslint js/src test/javascript test/jest jest.config.js" ,
7166 "test" : " jest"
Original file line number Diff line number Diff line change 63506350 <PossiblyNullArrayAccess occurrences="1">
63516351 <code>$firstStatement->order[$key]</code>
63526352 </PossiblyNullArrayAccess>
6353- <PossiblyNullOperand occurrences="2 ">
6353+ <PossiblyNullOperand occurrences="1 ">
63546354 <code>$dispval</code>
6355- <code>$this->getSortedColumnMessage($dtResult, $sortExpressionNoDirection[$i])</code>
63566355 </PossiblyNullOperand>
63576356 <RedundantCast occurrences="3">
63586357 <code>(int) $GLOBALS['cfg']['LimitChars']</code>
You can’t perform that action at this time.
0 commit comments