[TOOLS][PHPStan] Raise PHPStan level to 3 and fix new errors

This commit is contained in:
2021-09-09 01:08:45 +01:00
parent 9d7f43cd28
commit b74d944ae3
6 changed files with 17 additions and 4 deletions

View File

@@ -182,7 +182,7 @@ class AttachmentEmbed extends Entity
/**
* Generate the Embed thumbnail HTML attributes
*
* @return string[] ['class' => "string", 'has_attachment' => "bool", 'height' => "int|null", 'width' => "int|null"]
* @return mixed[] ['class' => string, 'has_attachment' => bool, 'height' => int|null, 'width' => int|null]
*/
public function getImageHTMLAttributes(): array
{