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

Commit

Permalink
Merge pull request #20 from martinvenus/master
Browse files Browse the repository at this point in the history
Fix compatibility with PHP 7.4
  • Loading branch information
Vitexus authored Nov 19, 2019
2 parents 7d78a6d + c17b598 commit e2b891b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/FlexiPeeHP/FlexiBeeRO.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit e2b891b

Please sign in to comment.