Skip to content

Commit

Permalink
fix: Issue with Rating construct arguments typing. Fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
nbourguig committed Dec 24, 2019
1 parent c0661d9 commit 6db4fdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Rating.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Nikaia\Rating;

use Laravel\Nova\Fields\Field;
use Illuminate\Support\Arr;
use Laravel\Nova\Fields\Field;

class Rating extends Field
{
Expand Down Expand Up @@ -40,7 +40,7 @@ class Rating extends Field
* @param null|string $attribute
* @param mixed|null $resolveCallback
*/
public function __construct(string $name, ?string $attribute = null, ?mixed $resolveCallback = null)
public function __construct(string $name, $attribute = null, ?mixed $resolveCallback = null)
{
parent::__construct($name, $attribute, $resolveCallback);

Expand Down

0 comments on commit 6db4fdf

Please sign in to comment.