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

docs: replace types in View\Parser and View\Filters #6550

Merged
merged 9 commits into from
Sep 22, 2022
6 changes: 3 additions & 3 deletions system/View/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function render(string $view, ?array $options = null, ?bool $saveData = n
}

if ($this->tempData === null) {
$this->tempData = $this->data;
$this->tempData = $this->data; // @codeCoverageIgnore
kenjis marked this conversation as resolved.
Show resolved Hide resolved
}

$template = file_get_contents($file);
Expand Down Expand Up @@ -447,7 +447,7 @@ protected function parseConditionals(string $template): string
ob_start();

if ($this->tempData === null) {
$this->tempData = $this->data;
$this->tempData = $this->data; // @codeCoverageIgnore
kenjis marked this conversation as resolved.
Show resolved Hide resolved
}

extract($this->tempData);
Expand Down Expand Up @@ -690,7 +690,7 @@ public function removePlugin(string $alias)
* Converts an object to an array, respecting any
* toArray() methods on an object.
*
* @param object $value
* @param array|float|int|object|string $value
*
* @return array
*/
Expand Down