netglue/prismic-php-kit

View on GitHub
src/Prismic/Document/Fragment/Link/FileLink.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Argument 2 (vars) is ?string but \sprintf() takes float|int|string
Open

            $this->openTag(),

Reference to undeclared property \Prismic\Document\Fragment\LinkInterface->filesize
Open

        $link->filesize = isset($value->size) ? (int) $value->size : null;

Argument 4 (vars) is ?string but \sprintf() takes float|int|string
Open

            $this->closeTag()

Reference to undeclared property \Prismic\Document\Fragment\LinkInterface->filename
Open

        $link->filename = isset($value->name) ? $value->name : null;

There are no issues that match your filters.

Category
Status