Skip to content
This repository was archived by the owner on Jul 29, 2020. It is now read-only.

Commit e2b891b

Browse files
authored
Merge pull request #20 from martinvenus/master
Fix compatibility with PHP 7.4
2 parents 7d78a6d + c17b598 commit e2b891b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/FlexiPeeHP/FlexiBeeRO.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2284,8 +2284,7 @@ public function getColumnInfo($column, $evidence = null)
22842284
$columnsInfo = $this->getColumnsInfo(empty($evidence) ? $this->getEvidence()
22852285
: $evidence);
22862286
return (empty($column) || empty($columnsInfo) || !is_array($columnsInfo))
2287-
? null : array_key_exists($column, $columnsInfo) ? $columnsInfo[$column]
2288-
: null;
2287+
? null : (array_key_exists($column, $columnsInfo) ? $columnsInfo[$column] : null);
22892288
}
22902289

22912290
/**

0 commit comments

Comments
 (0)