Upgrade to 3.8.0

This commit is contained in:
Bastian Allgeier
2022-10-06 10:11:54 +02:00
parent a9ed4e45ca
commit 7d168aae58
332 changed files with 26337 additions and 21977 deletions

View File

@@ -96,7 +96,7 @@ class Field
* @param string $key
* @param mixed $value
*/
public function __construct(?object $parent, string $key, $value)
public function __construct(object|null $parent, string $key, $value)
{
$this->key = $key;
$this->value = $value;
@@ -187,7 +187,7 @@ class Field
return $this;
}
if (is_a($fallback, 'Kirby\Cms\Field') === true) {
if ($fallback instanceof self) {
return $fallback;
}