package updates

This commit is contained in:
2018-12-19 23:27:43 -06:00
parent aa1da4d4fb
commit 1ffd21369f
1181 changed files with 51194 additions and 11046 deletions
+5 -5
View File
@@ -108,7 +108,7 @@ class Request extends SymfonyRequest implements Arrayable, ArrayAccess
{
$query = $this->getQueryString();
$question = $this->getBaseUrl().$this->getPathInfo() == '/' ? '/?' : '?';
$question = $this->getBaseUrl().$this->getPathInfo() === '/' ? '/?' : '?';
return $query ? $this->url().$question.$query : $this->url();
}
@@ -121,7 +121,7 @@ class Request extends SymfonyRequest implements Arrayable, ArrayAccess
*/
public function fullUrlWithQuery(array $query)
{
$question = $this->getBaseUrl().$this->getPathInfo() == '/' ? '/?' : '?';
$question = $this->getBaseUrl().$this->getPathInfo() === '/' ? '/?' : '?';
return count($this->query()) > 0
? $this->url().$question.Arr::query(array_merge($this->query(), $query))
@@ -179,7 +179,7 @@ class Request extends SymfonyRequest implements Arrayable, ArrayAccess
/**
* Determine if the current request URI matches a pattern.
*
* @param dynamic $patterns
* @param mixed ...$patterns
* @return bool
*/
public function is(...$patterns)
@@ -196,7 +196,7 @@ class Request extends SymfonyRequest implements Arrayable, ArrayAccess
/**
* Determine if the route name matches a given pattern.
*
* @param dynamic $patterns
* @param mixed ...$patterns
* @return bool
*/
public function routeIs(...$patterns)
@@ -207,7 +207,7 @@ class Request extends SymfonyRequest implements Arrayable, ArrayAccess
/**
* Determine if the current request URL and query string matches a pattern.
*
* @param dynamic $patterns
* @param mixed ...$patterns
* @return bool
*/
public function fullUrlIs(...$patterns)