Skip to content

Commit

Permalink
Combine issets
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdalpino committed Jul 6, 2021
1 parent 72de84b commit 78f4bad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Strategies/WildGuess.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function type() : DataType
*/
public function fitted() : bool
{
return isset($this->min) and isset($this->max) and $this->phi;
return isset($this->min, $this->max, $this->phi);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Transformers/MissingDataImputer.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function compatibility() : array
*/
public function fitted() : bool
{
return isset($this->strategies) and isset($this->types);
return isset($this->strategies, $this->types);
}

/**
Expand Down

0 comments on commit 78f4bad

Please sign in to comment.