Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Aug 20, 2024
1 parent d8b2d77 commit ed4d363
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 17 deletions.
8 changes: 7 additions & 1 deletion pint.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"preset": "laravel"
"preset": "laravel",
"rules": {
"method_chaining_indentation": false,
"no_superfluous_phpdoc_tags": {
"allow_mixed": true
}
}
}
8 changes: 2 additions & 6 deletions src/Actions/QueuedExportAsCsv.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@ class QueuedExportAsCsv extends ExportAsCsv
{
/**
* Storage disk used to store the file.
*
* @var string|null
*/
public $storageDisk;
public ?string $storageDisk;

/**
* Determine if file should be deleted after send.
*
* @var bool
*/
public $deleteFileAfterSend = false;
public bool $deleteFileAfterSend = false;

/**
* Construct a new action instance.
Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/QueuedExportAsCsv.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class QueuedExportAsCsv implements ShouldQueue
*
* @var array{filename: string, storageDisk: string|null, notify: string}
*/
public $options;
public array $options;

/**
* Create a new job instance.
Expand Down
9 changes: 0 additions & 9 deletions tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
|
*/

expect()->extend('toBeOne', function () {
return $this->toBe(1);
});

/*
|--------------------------------------------------------------------------
| Functions
Expand All @@ -38,8 +34,3 @@
| global functions to help you to reduce the number of lines of code in your test files.
|
*/

function something()
{
// ..
}

0 comments on commit ed4d363

Please sign in to comment.