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

@@ -20,6 +20,8 @@ use Kirby\Toolkit\Str;
* @link https://getkirby.com
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*
* @deprecated 3.8.0 Use `Kirby\Option\OptionsApi` instead
*/
class OptionsApi
{
@@ -161,7 +163,7 @@ class OptionsApi
* @param string|null $fetch
* @return $this
*/
protected function setFetch(?string $fetch = null)
protected function setFetch(string|null $fetch = null)
{
$this->fetch = $fetch;
return $this;
@@ -181,7 +183,7 @@ class OptionsApi
* @param string $text
* @return $this
*/
protected function setText(?string $text = null)
protected function setText(string|null $text = null)
{
$this->text = $text;
return $this;
@@ -201,7 +203,7 @@ class OptionsApi
* @param string|null $value
* @return $this
*/
protected function setValue(?string $value = null)
protected function setValue(string|null $value = null)
{
$this->value = $value;
return $this;