Implement PWA Collector and additional viewing templates #277
Annotations
5 errors
PHPStan:
src/DataCollector/PwaCollector.php#L68
Method SpomkyLabs\PwaBundle\DataCollector\PwaCollector::getData() return type has no value type specified in iterable type array.
|
PHPStan:
src/DataCollector/PwaCollector.php#L70
Method SpomkyLabs\PwaBundle\DataCollector\PwaCollector::getData() should return array but returns array|Symfony\Component\VarDumper\Cloner\Data.
|
PHPStan:
src/DataCollector/PwaCollector.php#L110
Strict comparison using === between array and null will always evaluate to false.
|
PHPStan:
src/DataCollector/PwaCollector.php#L116
Method SpomkyLabs\PwaBundle\DataCollector\PwaCollector::isInstallable() should return array{status: bool, reasons: array<string>} but returns array{status: bool, reasons: array{The manifest must be enabled: bool, The manifest must have a short name or a name: bool, The manifest must have a start URL: bool, 'The manifest must have a display value set to "standalone", "fullscreen" or "minimal-ui': bool, The manifest must have at least one icon: bool, 'The manifest must have the "prefer_related_applications" property set to a value other than "true"': bool}}.
|
PHPStan
Process completed with exit code 2.
|
Loading