Upgrade to 3.5.5

This commit is contained in:
Bastian Allgeier
2021-05-11 11:55:32 +02:00
parent de3560f3d6
commit efeff45192
146 changed files with 2008 additions and 1075 deletions

View File

@@ -149,7 +149,7 @@ class Remote
/**
* Sets up all curl options and sends the request
*
* @return self
* @return $this
*/
public function fetch()
{
@@ -291,7 +291,7 @@ class Remote
*
* @param string $url
* @param array $params
* @return self
* @return static
*/
public static function get(string $url, array $params = [])
{
@@ -385,7 +385,7 @@ class Remote
*
* @param string $url
* @param array $params
* @return self
* @return static
*/
public static function request(string $url, array $params = [])
{

View File

@@ -152,7 +152,7 @@ class Response
* @param string $file
* @param string $filename
* @param array $props Custom overrides for response props (e.g. headers)
* @return self
* @return static
*/
public static function download(string $file, string $filename = null, array $props = [])
{
@@ -188,7 +188,7 @@ class Response
*
* @param string $file
* @param array $props Custom overrides for response props (e.g. headers)
* @return self
* @return static
*/
public static function file(string $file, array $props = [])
{
@@ -229,7 +229,7 @@ class Response
* @param int $code
* @param bool $pretty
* @param array $headers
* @return self
* @return static
*/
public static function json($body = '', ?int $code = null, ?bool $pretty = null, array $headers = [])
{
@@ -252,7 +252,7 @@ class Response
*
* @param string $location
* @param int $code
* @return self
* @return static
*/
public static function redirect(string $location = '/', int $code = 302)
{

View File

@@ -222,7 +222,7 @@ class Uri
* new props.
*
* @param array $props
* @return self
* @return static
*/
public function clone(array $props = [])
{
@@ -238,7 +238,7 @@ class Uri
/**
* @param array $props
* @param bool $forwarded
* @return self
* @return static
*/
public static function current(array $props = [], bool $forwarded = false)
{
@@ -316,7 +316,7 @@ class Uri
* Tries to convert the internationalized host
* name to the human-readable UTF8 representation
*
* @return self
* @return $this
*/
public function idn()
{
@@ -374,7 +374,7 @@ class Uri
/**
* @param string|null $fragment
* @return self
* @return $this
*/
public function setFragment(string $fragment = null)
{
@@ -384,7 +384,7 @@ class Uri
/**
* @param string $host
* @return self
* @return $this
*/
public function setHost(string $host = null)
{
@@ -394,7 +394,7 @@ class Uri
/**
* @param \Kirby\Http\Params|string|array|null $params
* @return self
* @return $this
*/
public function setParams($params = null)
{
@@ -404,7 +404,7 @@ class Uri
/**
* @param string|null $password
* @return self
* @return $this
*/
public function setPassword(string $password = null)
{
@@ -414,7 +414,7 @@ class Uri
/**
* @param \Kirby\Http\Path|string|array|null $path
* @return self
* @return $this
*/
public function setPath($path = null)
{
@@ -424,7 +424,7 @@ class Uri
/**
* @param int|null $port
* @return self
* @return $this
*/
public function setPort(int $port = null)
{
@@ -444,7 +444,7 @@ class Uri
/**
* @param \Kirby\Http\Query|string|array|null $query
* @return self
* @return $this
*/
public function setQuery($query = null)
{
@@ -454,7 +454,7 @@ class Uri
/**
* @param string $scheme
* @return self
* @return $this
*/
public function setScheme(string $scheme = null)
{
@@ -471,7 +471,7 @@ class Uri
* the path when the URI is being built
*
* @param bool $slash
* @return self
* @return $this
*/
public function setSlash(bool $slash = false)
{
@@ -481,7 +481,7 @@ class Uri
/**
* @param string|null $username
* @return self
* @return $this
*/
public function setUsername(string $username = null)
{
@@ -551,7 +551,7 @@ class Uri
* Tries to convert a URL with an internationalized host
* name to the machine-readable Punycode representation
*
* @return self
* @return $this
*/
public function unIdn()
{