1 diff -up vendor/mathmarques/smarty-view/src/Smarty.php.patch vendor/mathmarques/smarty-view/src/Smarty.php
2 --- vendor/mathmarques/smarty-view/src/Smarty.php.patch 2021-09-24 12:02:58.287223301 +0200
3 +++ vendor/mathmarques/smarty-view/src/Smarty.php 2021-09-25 10:35:50.856555954 +0200
4 @@ -153,7 +153,7 @@ class Smarty implements \ArrayAccess
8 - public function offsetExists($key)
9 + public function offsetExists($key): bool
11 return array_key_exists($key, $this->defaultVariables);
13 @@ -165,7 +165,7 @@ class Smarty implements \ArrayAccess
15 * @return mixed The key's value, or the default value
17 - public function offsetGet($key)
18 + public function offsetGet($key): mixed
20 return $this->defaultVariables[$key];
22 @@ -176,7 +176,7 @@ class Smarty implements \ArrayAccess
23 * @param string $key The data key
24 * @param mixed $value The data value
26 - public function offsetSet($key, $value)
27 + public function offsetSet($key, $value): void
29 $this->defaultVariables[$key] = $value;
31 @@ -186,7 +186,7 @@ class Smarty implements \ArrayAccess
33 * @param string $key The data key
35 - public function offsetUnset($key)
36 + public function offsetUnset($key): void
38 unset($this->defaultVariables[$key]);