Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyso authored and github-actions[bot] committed Feb 24, 2023
1 parent 838595c commit a401aa4
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 32 deletions.
9 changes: 0 additions & 9 deletions src/Actions/ImportAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ protected function setUp(): void
});
}

/**
* @return void
*/
public function setInitialForm(): void
{
$this->form([
Expand Down Expand Up @@ -117,8 +114,6 @@ public function handleBlankRows($shouldHandleBlankRows = false): static
}

/**
* @param array $fields
* @param int $columns
* @return $this
*/
public function fields(array $fields, int $columns = 1): static
Expand Down Expand Up @@ -146,10 +141,6 @@ public function fields(array $fields, int $columns = 1): static
return $this;
}

/**
* @param ImportField|Field $field
* @return Field
*/
private function getFields(ImportField|Field $field): Field
{
if ($field instanceof Field) {
Expand Down
4 changes: 0 additions & 4 deletions src/Concerns/HasFieldHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ trait HasFieldHelper
protected ?string $helperText = null;

/**
* @param $text
* @return $this
*/
public function helperText($text): static
Expand All @@ -17,9 +16,6 @@ public function helperText($text): static
return $this;
}

/**
* @return string|null
*/
public function getHelperText(): ?string
{
return $this->helperText;
Expand Down
4 changes: 0 additions & 4 deletions src/Concerns/HasFieldLabel.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ trait HasFieldLabel
protected ?string $label = null;

/**
* @param string $label
* @return $this
*/
public function label(string $label): static
Expand All @@ -22,9 +21,6 @@ public function label(string $label): static
return $this;
}

/**
* @return string
*/
public function getLabel(): string
{
return $this->label ?? Str::of($this->name)->title();
Expand Down
4 changes: 0 additions & 4 deletions src/Concerns/HasFieldPlaceholder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ trait HasFieldPlaceholder
protected ?string $placeholder = null;

/**
* @param string $placeholder
* @return $this
*/
public function placeholder(string $placeholder): static
Expand All @@ -17,9 +16,6 @@ public function placeholder(string $placeholder): static
return $this;
}

/**
* @return string|null
*/
public function getPlaceholder(): ?string
{
return $this->placeholder;
Expand Down
9 changes: 0 additions & 9 deletions src/Concerns/HasTemporaryDisk.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,16 @@ public function getTemporaryDisk()
return $this->temporaryDisk ?? config('filament-import.temporary_files.disk');
}

/**
* @param string $temporaryDisk
*/
public function temporaryDisk(string $temporaryDisk): void
{
$this->temporaryDisk = $temporaryDisk;
}

/**
* @return mixed
*/
public function getTemporaryDirectory(): mixed
{
return $this->temporaryDirectory ?? config('filament-import.temporary_files.directory');
}

/**
* @param string $temporaryPath
*/
public function temporaryDirectory(string $temporaryPath): void
{
$this->temporaryDirectory = $temporaryPath;
Expand Down
2 changes: 0 additions & 2 deletions tests/Migrations/post_migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
{
/**
* Run the migrations.
*
* @return void
*/
public function up(): void
{
Expand Down

0 comments on commit a401aa4

Please sign in to comment.