chore: update Kint to 5.0.5

This commit is contained in:
kenjis 2023-03-18 10:05:56 +09:00
parent 2be50cc44f
commit 533a0905d0
No known key found for this signature in database
GPG Key ID: BD254878922AF198

View File

@ -57,7 +57,7 @@ class SplFileInfoRepresentation extends Representation
$this->path = $fileInfo->getPathname();
try {
if ($fileInfo->getRealPath()) {
if (\strlen($this->path) && $fileInfo->getRealPath()) {
$this->perms = $fileInfo->getPerms();
$this->size = $fileInfo->getSize();
$this->owner = $fileInfo->getOwner();