Upgrade to 3.3.1

This commit is contained in:
Bastian Allgeier
2019-11-26 11:04:08 +01:00
parent 23c67beafb
commit 3a82406bed
156 changed files with 437 additions and 121 deletions

View File

@@ -25,7 +25,7 @@ return [
/**
* Allowed incremental steps between numbers (i.e `0.5`)
*/
'step' => function ($step = 1) {
'step' => function ($step = null) {
return $this->toNumber($step);
},
'value' => function ($value = null) {

View File

@@ -122,6 +122,7 @@ function css($url, $options = null): ?string
/**
* Triggers a deprecation warning if debug mode is active
* @since 3.3.0
*
* @param string $message
* @return bool Whether the warning was triggered

View File

@@ -327,6 +327,7 @@ return function (App $app) {
/**
* Converts all line breaks in the field content to `<br>` tags.
* @since 3.3.0
*
* @param \Kirby\Cms\Field $field
* @return \Kirby\Cms\Field
@@ -387,6 +388,7 @@ return function (App $app) {
* Strips all block-level HTML elements from the field value,
* it can be safely placed inside of other inline elements
* without the risk of breaking the HTML structure.
* @since 3.3.0
*
* @param \Kirby\Cms\Field $field
* @return \Kirby\Cms\Field