You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: PhpComp\Shm\ShmMap::getMap(): Return value must be of type array, bool returned in /mnt/g/youpal/job-verification-bot/vendor/php-comp/shm/src/ShmMap.php:207
Stack trace:
#0 /mnt/g/youpal/job-verification-bot/index.php(234): PhpComp\Shm\ShmMap->getMap()
if (!$read = $this->shm->read()) {
return [];
}
should be
if (!$read = trim($this->shm->read())) {
return [];
}
because read() returns long sequence of zero chars which are not considered as empty
The text was updated successfully, but these errors were encountered:
TypeError: PhpComp\Shm\ShmMap::getMap(): Return value must be of type array, bool returned in /mnt/g/youpal/job-verification-bot/vendor/php-comp/shm/src/ShmMap.php:207
Stack trace:
#0 /mnt/g/youpal/job-verification-bot/index.php(234): PhpComp\Shm\ShmMap->getMap()
should be
because read() returns long sequence of zero chars which are not considered as empty
The text was updated successfully, but these errors were encountered: