mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-27 20:11:34 +03:00
Fixed phpstan issues
This commit is contained in:
parent
87c4851d7e
commit
c79ca1d13c
2 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@ class PixelResponse extends Response
|
||||||
private function createBody(): StreamInterface
|
private function createBody(): StreamInterface
|
||||||
{
|
{
|
||||||
$body = new Stream('php://temp', 'wb+');
|
$body = new Stream('php://temp', 'wb+');
|
||||||
$body->write(\base64_decode(self::BASE_64_IMAGE));
|
$body->write((string) \base64_decode(self::BASE_64_IMAGE));
|
||||||
$body->rewind();
|
$body->rewind();
|
||||||
return $body;
|
return $body;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,3 +4,4 @@ parameters:
|
||||||
- module/Rest/src/Util/RestUtils.php
|
- module/Rest/src/Util/RestUtils.php
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
- '#is not subtype of Throwable#'
|
- '#is not subtype of Throwable#'
|
||||||
|
- '#Cannot access offset#'
|
||||||
|
|
Loading…
Add table
Reference in a new issue