Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Annotate correct type hints in AbstractTemplateView #986

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/View/AbstractTemplateView.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function ($parent, TemplatePaths $paths) use ($layoutName) {
* @param string $sectionName Name of section to render
* @param array $variables The variables to use
* @param bool $ignoreUnknown Ignore an unknown section and just return an empty string
* @return string rendered template for the section
* @return mixed rendered template for the section
* @throws InvalidSectionException
*/
public function renderSection($sectionName, array $variables = [], $ignoreUnknown = false)
Expand Down Expand Up @@ -252,7 +252,7 @@ public function renderSection($sectionName, array $variables = [], $ignoreUnknow
* @param string|null $sectionName
* @param array $variables
* @param bool $ignoreUnknown Ignore an unknown section and just return an empty string
* @return string
* @return mixed
*/
public function renderPartial($partialName, $sectionName = null, array $variables = [], $ignoreUnknown = false)
{
Expand Down