Update Kirby and Composer dependencies

This commit is contained in:
Paul Nicoué 2022-03-22 15:39:39 +01:00
parent f5d3ea5e84
commit ec74d78ba9
382 changed files with 25077 additions and 4955 deletions

View file

@ -19,7 +19,7 @@ use Kirby\Filesystem\F;
* @package Kirby
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class Data
@ -65,7 +65,7 @@ class Data
static::$handlers[static::$aliases[$type] ?? null] ??
null;
if (class_exists($handler)) {
if ($handler !== null && class_exists($handler)) {
return new $handler();
}

View file

@ -13,7 +13,7 @@ use Kirby\Filesystem\F;
* @package Kirby Data
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
abstract class Handler

View file

@ -10,7 +10,7 @@ use Kirby\Exception\InvalidArgumentException;
* @package Kirby Data
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class Json extends Handler

View file

@ -12,7 +12,7 @@ use Kirby\Filesystem\F;
* @package Kirby Data
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class PHP extends Handler

View file

@ -12,7 +12,7 @@ use Kirby\Toolkit\Str;
* @package Kirby Data
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class Txt extends Handler

View file

@ -11,7 +11,7 @@ use Kirby\Toolkit\Xml as XmlConverter;
* @package Kirby Data
* @author Lukas Bestle <lukas@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class Xml extends Handler

View file

@ -11,7 +11,7 @@ use Spyc;
* @package Kirby Data
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class Yaml extends Handler