Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
SkibidiProduction committed Feb 4, 2025
1 parent ba251a8 commit 9130db6
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Graph/Nodes/Best.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class Best implements Outcome
* @param (int|float)[] $probabilities
* @param float $impurity
* @param int $n
* @throws \Rubix\ML\Exceptions\InvalidArgumentException
*/
public function __construct(string $outcome, array $probabilities, float $impurity, int $n)
{
Expand Down
1 change: 0 additions & 1 deletion src/Graph/Nodes/Depth.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public static function terminate(Dataset $dataset, int $depth) : self

/**
* @param float $depth
* @throws \Rubix\ML\Exceptions\InvalidArgumentException
*/
public function __construct(float $depth)
{
Expand Down
1 change: 0 additions & 1 deletion src/Graph/Nodes/Isolator.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public static function split(Dataset $dataset) : self
* @param int $column
* @param string|int|float $value
* @param array{Dataset,Dataset} $subsets
* @throws \Rubix\ML\Exceptions\InvalidArgumentException
*/
public function __construct(int $column, string|int|float $value, array $subsets)
{
Expand Down
1 change: 0 additions & 1 deletion src/Graph/Nodes/Split.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ class Split implements Decision, HasBinaryChildren
* @param array{\Rubix\ML\Datasets\Labeled,\Rubix\ML\Datasets\Labeled} $subsets
* @param float $impurity
* @param int<0,max> $n
* @throws \Rubix\ML\Exceptions\InvalidArgumentException
*/
public function __construct(int $column, string|int|float $value, array $subsets, float $impurity, int $n)
{
Expand Down
1 change: 0 additions & 1 deletion src/Specifications/SpecificationChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public static function with(iterable $specifications) : self

/**
* @param iterable<Specification> $specifications
* @throws \Rubix\ML\Exceptions\InvalidArgumentException
*/
public function __construct(iterable $specifications)
{
Expand Down

0 comments on commit 9130db6

Please sign in to comment.