Upgrade to 3.2.0

This commit is contained in:
Bastian Allgeier
2019-06-25 09:56:08 +02:00
parent 9e18cf635d
commit 9c89153d35
296 changed files with 14408 additions and 2504 deletions

View File

@@ -2,13 +2,17 @@
namespace Kirby\Cms;
use Closure;
/**
* The Ingredients class is the foundation for
* $kirby->urls() and $kirby->roots() objects.
* `$kirby->urls()` and `$kirby->roots()` objects.
* Those are configured in `kirby/config/urls.php`
* and `kirby/config/roots.php`
*
* @package Kirby Cms
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @license https://getkirby.com/license
*/
class Ingredients
{
@@ -41,7 +45,7 @@ class Ingredients
}
/**
* Improved var_dump output
* Improved `var_dump` output
*
* @return array
*/
@@ -69,7 +73,7 @@ class Ingredients
* @param array $ingredients
* @return self
*/
public static function bake(array $ingredients): self
public static function bake(array $ingredients)
{
foreach ($ingredients as $name => $ingredient) {
if (is_a($ingredient, 'Closure') === true) {