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

Commit c084745

Browse files
committed
Do not use count(null) on PHP7.3
1 parent 3298885 commit c084745

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FlexiPeeHP/FlexiBeeRO.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2211,7 +2211,7 @@ public function getOnlineColumnsInfo($evidence = null)
22112211
$properties = [];
22122212
$evidence = is_null($evidence) ? $this->getEvidence() : $evidence;
22132213
$flexinfo = $this->performRequest('/c/'.$this->company.'/'.$evidence.'/properties.json');
2214-
if (count($flexinfo) && array_key_exists('properties', $flexinfo)) {
2214+
if (!empty($flexinfo) && array_key_exists('properties', $flexinfo)) {
22152215
foreach ($flexinfo['properties']['property'] as $evidenceProperty) {
22162216
$key = $evidenceProperty['propertyName'];
22172217
$properties[$key] = $evidenceProperty;

0 commit comments

Comments
 (0)