Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 17, 2020
2 parents aaf59cf + 53d66bb commit 22e4182
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ public function newQueryForRestoration($ids)
*/
protected function newQueryForCollectionRestoration(array $ids)
{
$ids = array_values($ids);

if (! Str::contains($ids[0], ':')) {
return parent::newQueryForRestoration($ids);
}
Expand Down
2 changes: 2 additions & 0 deletions src/Illuminate/Database/Eloquent/Relations/MorphPivot.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ public function newQueryForRestoration($ids)
*/
protected function newQueryForCollectionRestoration(array $ids)
{
$ids = array_values($ids);

if (! Str::contains($ids[0], ':')) {
return parent::newQueryForRestoration($ids);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Application extends Container implements ApplicationContract, CachesConfig
*
* @var string
*/
const VERSION = '8.14.0';
const VERSION = '8.15.0';

/**
* The base path for the Laravel installation.
Expand Down
3 changes: 3 additions & 0 deletions src/Illuminate/Support/Facades/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
* @method static array only(array|mixed $keys)
* @method static array segments()
* @method static array toArray()
* @method static array validate(array $rules, ...$params)
* @method static array validateWithBag(string $errorBag, array $rules, ...$params)
* @method static bool accepts(string|array $contentTypes)
* @method static bool acceptsAnyContentType()
* @method static bool acceptsHtml()
Expand All @@ -43,6 +45,7 @@
* @method static bool hasCookie(string $key)
* @method static bool hasFile(string $key)
* @method static bool hasHeader(string $key)
* @method static bool hasValidSignature(bool $absolute = true)
* @method static bool is(mixed ...$patterns)
* @method static bool isJson()
* @method static bool matchesType(string $actual, string $type)
Expand Down

0 comments on commit 22e4182

Please sign in to comment.