Skip to content

Commit

Permalink
Fix PHPStan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Sep 2, 2024
1 parent 61fa53c commit b945c84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bundle/Templating/Twig/DebugTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ public function getSourceContext(): Source
return new Source('', '');
}

/**
* @return array<string, mixed>
*/
public function getDebugInfo(): array
{
return [];
Expand Down
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ parameters:
-
message: '#Method Netgen\\Bundle\\SiteBundle\\Templating\\Twig\\DebugTemplate::doDisplay\(\) has no return type specified#'
path: bundle/Templating/Twig/DebugTemplate.php

-
message: '#Offset \d does not exist on array#'
path: bundle/RichText/Converter/Link.php

0 comments on commit b945c84

Please sign in to comment.