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

@@ -10,6 +10,12 @@ use Kirby\Toolkit\F;
* Plugin assets are automatically copied/linked
* to the media folder, to make them publicly
* available. This class handles the magic around that.
*
* @package Kirby Cms
* @author Bastian Allgeier <bastian@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @license https://getkirby.com/license
*/
class PluginAssets
{
@@ -19,7 +25,7 @@ class PluginAssets
* @param string $pluginName
* @return void
*/
public static function clean(string $pluginName)
public static function clean(string $pluginName): void
{
if ($plugin = App::instance()->plugin($pluginName)) {
$root = $plugin->root() . '/assets';
@@ -48,7 +54,7 @@ class PluginAssets
*
* @param string $pluginName
* @param string $filename
* @return string
* @return Kirby\Cms\Response|null
*/
public static function resolve(string $pluginName, string $filename)
{