From c17b5982471074f4953e3afc628bbb7a5424cb8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Venu=C5=A1?= Date: Tue, 19 Nov 2019 14:05:26 +0100 Subject: [PATCH] Fix compatibility with PHP 7.4 Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` --- src/FlexiPeeHP/FlexiBeeRO.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/FlexiPeeHP/FlexiBeeRO.php b/src/FlexiPeeHP/FlexiBeeRO.php index 43420a2..afe11cf 100644 --- a/src/FlexiPeeHP/FlexiBeeRO.php +++ b/src/FlexiPeeHP/FlexiBeeRO.php @@ -2284,8 +2284,7 @@ public function getColumnInfo($column, $evidence = null) $columnsInfo = $this->getColumnsInfo(empty($evidence) ? $this->getEvidence() : $evidence); return (empty($column) || empty($columnsInfo) || !is_array($columnsInfo)) - ? null : array_key_exists($column, $columnsInfo) ? $columnsInfo[$column] - : null; + ? null : (array_key_exists($column, $columnsInfo) ? $columnsInfo[$column] : null); } /**