mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-27 05:31:11 -08:00
removed unused Bag-functions
This commit is contained in:
parent
5f81488679
commit
15dd7061ed
|
@ -6,8 +6,6 @@ use Illuminate\Http\UploadedFile;
|
||||||
use Illuminate\Support\Arr;
|
use Illuminate\Support\Arr;
|
||||||
use Illuminate\Support\Collection;
|
use Illuminate\Support\Collection;
|
||||||
use Illuminate\Support\Str;
|
use Illuminate\Support\Str;
|
||||||
use Symfony\Component\HttpFoundation\FileBag;
|
|
||||||
use Symfony\Component\HttpFoundation\ParameterBag;
|
|
||||||
|
|
||||||
trait ConvertsBase64ToFiles
|
trait ConvertsBase64ToFiles
|
||||||
{
|
{
|
||||||
|
@ -16,26 +14,6 @@ trait ConvertsBase64ToFiles
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper method to get the body parameters bag.
|
|
||||||
*
|
|
||||||
* @return \Symfony\Component\HttpFoundation\ParameterBag
|
|
||||||
*/
|
|
||||||
private function bodyParametersBag(): ParameterBag
|
|
||||||
{
|
|
||||||
return $this->request;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper method to get the uploaded files bag.
|
|
||||||
*
|
|
||||||
* @return FileBag
|
|
||||||
*/
|
|
||||||
private function uploadFilesBag(): FileBag
|
|
||||||
{
|
|
||||||
return $this->files;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pulls the Base64 contents for each file key and creates
|
* Pulls the Base64 contents for each file key and creates
|
||||||
* an UploadedFile instance from it and sets it on the
|
* an UploadedFile instance from it and sets it on the
|
||||||
|
|
Loading…
Reference in a new issue