Skip to content

Commit

Permalink
fix: phpstan issue - right side of || always false (#50453)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carnicero90 committed Mar 12, 2024
1 parent 5a7f633 commit f1fb9a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(array $arguments)

public function get($model, $key, $value, $attributes)
{
if (! isset($attributes[$key]) || is_null($attributes[$key])) {
if (! isset($attributes[$key])) {
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(array $arguments)

public function get($model, $key, $value, $attributes)
{
if (! isset($attributes[$key]) || is_null($attributes[$key])) {
if (! isset($attributes[$key])) {
return;
}

Expand Down

0 comments on commit f1fb9a6

Please sign in to comment.