Skip to content

Commit

Permalink
Fix PhpStan
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Jan 23, 2022
1 parent e9ba9b8 commit 25affb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static function methodNameToVariableName(string $name): string
}

throw new \InvalidArgumentException(
sprintf('Method name "%s" is not in valid format. Did you start name with "get" or "is"?', $name)
sprintf('Method name "%s" is not in valid format. Did you start name with "get" or "is"?', $name),
);
}
}
2 changes: 1 addition & 1 deletion src/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function parseAvailableVariables(TemplateData $data): array
sprintf(
'Template data object can not implement static methods, because it can break context. But method "%s" has been implemented.',
$name,
)
),
);
continue;
}
Expand Down

0 comments on commit 25affb2

Please sign in to comment.