Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
StyleCIBot committed Jan 16, 2024
1 parent 81c921d commit d88641d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
3 changes: 2 additions & 1 deletion src/Excel.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ public function download($export, string $fileName, string $writerType = null, a

/**
* {@inheritdoc}
* @param string|null $disk Fallback for usage with named properties
*
* @param string|null $disk Fallback for usage with named properties
*/
public function store($export, string $filePath, string $diskName = null, string $writerType = null, $diskOptions = [], string $disk = null)
{
Expand Down
36 changes: 16 additions & 20 deletions src/Exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
interface Exporter
{
/**
* @param object $export
* @param string|null $fileName
* @param string $writerType
* @param array $headers
*
* @param object $export
* @param string|null $fileName
* @param string $writerType
* @param array $headers
* @return \Symfony\Component\HttpFoundation\BinaryFileResponse
*
* @throws \PhpOffice\PhpSpreadsheet\Exception
Expand All @@ -18,12 +17,11 @@ interface Exporter
public function download($export, string $fileName, string $writerType = null, array $headers = []);

/**
* @param object $export
* @param string $filePath
* @param string|null $diskName
* @param string $writerType
* @param mixed $diskOptions
*
* @param object $export
* @param string $filePath
* @param string|null $diskName
* @param string $writerType
* @param mixed $diskOptions
* @return bool
*
* @throws \PhpOffice\PhpSpreadsheet\Exception
Expand All @@ -32,20 +30,18 @@ public function download($export, string $fileName, string $writerType = null, a
public function store($export, string $filePath, string $disk = null, string $writerType = null, $diskOptions = []);

/**
* @param object $export
* @param string $filePath
* @param string|null $disk
* @param string $writerType
* @param mixed $diskOptions
*
* @param object $export
* @param string $filePath
* @param string|null $disk
* @param string $writerType
* @param mixed $diskOptions
* @return \Illuminate\Foundation\Bus\PendingDispatch
*/
public function queue($export, string $filePath, string $disk = null, string $writerType = null, $diskOptions = []);

/**
* @param object $export
* @param string $writerType
*
* @param object $export
* @param string $writerType
* @return string
*/
public function raw($export, string $writerType);
Expand Down
3 changes: 2 additions & 1 deletion src/Fakes/ExcelFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ public function download($export, string $fileName, string $writerType = null, a

/**
* {@inheritdoc}
* @param string|null $diskName Fallback for usage with named properties
*
* @param string|null $diskName Fallback for usage with named properties
*/
public function store($export, string $filePath, string $disk = null, string $writerType = null, $diskOptions = [], string $diskName = null)
{
Expand Down

0 comments on commit d88641d

Please sign in to comment.