update kirby
This commit is contained in:
parent
652262ac94
commit
9c662bcbba
165 changed files with 1757 additions and 598 deletions
|
|
@ -38,7 +38,7 @@ trait FileModifications
|
|||
*/
|
||||
public function crop(
|
||||
int $width,
|
||||
int $height = null,
|
||||
int|null $height = null,
|
||||
$options = null
|
||||
): FileVersion|File|Asset {
|
||||
$quality = null;
|
||||
|
|
@ -94,9 +94,9 @@ trait FileModifications
|
|||
* @throws \Kirby\Exception\InvalidArgumentException
|
||||
*/
|
||||
public function resize(
|
||||
int $width = null,
|
||||
int $height = null,
|
||||
int $quality = null
|
||||
int|null $width = null,
|
||||
int|null $height = null,
|
||||
int|null $quality = null
|
||||
): FileVersion|File|Asset {
|
||||
return $this->thumb([
|
||||
'width' => $width,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue