Upgrade to 3.2.5
This commit is contained in:
@@ -18,7 +18,6 @@ use Kirby\Toolkit\F;
|
||||
*/
|
||||
class ContentLocks
|
||||
{
|
||||
|
||||
/**
|
||||
* Data from the `.lock` files
|
||||
* that have been read so far
|
||||
@@ -73,7 +72,7 @@ class ContentLocks
|
||||
/**
|
||||
* Returns the path to a model's lock file
|
||||
*
|
||||
* @param Kirby\Cms\ModelWithContent $model
|
||||
* @param \Kirby\Cms\ModelWithContent $model
|
||||
* @return string
|
||||
*/
|
||||
public static function file(ModelWithContent $model): string
|
||||
@@ -84,7 +83,7 @@ class ContentLocks
|
||||
/**
|
||||
* Returns the lock/unlock data for the specified model
|
||||
*
|
||||
* @param Kirby\Cms\ModelWithContent $model
|
||||
* @param \Kirby\Cms\ModelWithContent $model
|
||||
* @return array
|
||||
*/
|
||||
public function get(ModelWithContent $model): array
|
||||
@@ -155,7 +154,7 @@ class ContentLocks
|
||||
* Returns model ID used as the key for the data array;
|
||||
* prepended with a slash because the $site otherwise won't have an ID
|
||||
*
|
||||
* @param Kirby\Cms\ModelWithContent $model
|
||||
* @param \Kirby\Cms\ModelWithContent $model
|
||||
* @return string
|
||||
*/
|
||||
public static function id(ModelWithContent $model): string
|
||||
@@ -166,7 +165,7 @@ class ContentLocks
|
||||
/**
|
||||
* Sets and writes the lock/unlock data for the specified model
|
||||
*
|
||||
* @param Kirby\Cms\ModelWithContent $model
|
||||
* @param \Kirby\Cms\ModelWithContent $model
|
||||
* @param array $data
|
||||
* @return boolean
|
||||
*/
|
||||
|
Reference in New Issue
Block a user