Skip to content

Commit

Permalink
removed unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
Luukdewaaier committed Dec 22, 2023
1 parent 30acb8f commit 35f4dff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Support/Generators/RelationPropertyGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use ReflectionIntersectionType;
use Illuminate\Database\Eloquent\Model;
use Scrumble\TypeGenerator\Interfaces\IPropertyGenerator;
use Scrumble\TypeGenerator\Exceptions\IntersectionReturnTypeNotImplementedException;

class RelationPropertyGenerator implements IPropertyGenerator
{
Expand Down
8 changes: 8 additions & 0 deletions tests/Models/Bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,12 @@ public function unionReturn(): string|int
{
return '';
}

/**
* @return string|int
*/
public function unionDocReturn()
{
return '';
}
}

0 comments on commit 35f4dff

Please sign in to comment.