Skip to content

Commit

Permalink
Remove inheritdoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jul 6, 2020
1 parent 975e732 commit 5a727ae
Showing 1 changed file with 0 additions and 72 deletions.
72 changes: 0 additions & 72 deletions src/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,11 @@

final class Collection extends Base implements CollectionInterface
{
/**
* {@inheritdoc}
*/
public function all(): array
{
return $this->transform(new All());
}

/**
* {@inheritdoc}
*/
public function append(...$items): BaseInterface
{
return $this->run(new Append(...$items));
Expand All @@ -106,9 +100,6 @@ public function collapse(): BaseInterface
return $this->run(new Collapse());
}

/**
* {@inheritdoc}
*/
public function column($column): BaseInterface
{
return $this->run(new Column($column));
Expand All @@ -119,17 +110,11 @@ public function combinate(?int $length = null): BaseInterface
return $this->run(new Combinate($length));
}

/**
* {@inheritdoc}
*/
public function combine(...$keys): BaseInterface
{
return $this->run(new Combine(...$keys));
}

/**
* {@inheritdoc}
*/
public function contains($key): bool
{
return $this->transform(new Contains($key));
Expand All @@ -155,9 +140,6 @@ public static function empty(): CollectionInterface
return new self();
}

/**
* {@inheritdoc}
*/
public function explode(...$explodes): BaseInterface
{
return $this->run(new Explode(...$explodes));
Expand All @@ -173,9 +155,6 @@ public function filter(callable ...$callbacks): BaseInterface
return $this->run(new Filter(...$callbacks));
}

/**
* {@inheritdoc}
*/
public function first(?callable $callback = null, $default = null)
{
return $this->transform(new First($callback, $default));
Expand All @@ -191,17 +170,11 @@ public function flip(): BaseInterface
return $this->run(new Flip());
}

/**
* {@inheritdoc}
*/
public function foldLeft(callable $callback, $initial = null)
{
return $this->transform(new FoldLeft($callback, $initial));
}

/**
* {@inheritdoc}
*/
public function foldRight(callable $callback, $initial = null)
{
return $this->transform(new FoldRight($callback, $initial));
Expand All @@ -217,9 +190,6 @@ public function frequency(): BaseInterface
return $this->run(new Frequency());
}

/**
* {@inheritdoc}
*/
public function get($key, $default = null)
{
return $this->transform(new Get($key, $default));
Expand All @@ -235,17 +205,11 @@ public function implode(string $glue = ''): string
return $this->transform(new Implode($glue));
}

/**
* {@inheritdoc}
*/
public function intersperse($element, int $every = 1, int $startAt = 0): BaseInterface
{
return $this->run(new Intersperse($element, $every, $startAt));
}

/**
* {@inheritdoc}
*/
public static function iterate(callable $callback, ...$parameters): BaseInterface
{
return (new self())->run(new Iterate($callback, $parameters));
Expand All @@ -256,9 +220,6 @@ public function keys(): BaseInterface
return $this->run(new Keys());
}

/**
* {@inheritdoc}
*/
public function last()
{
return $this->transform(new Last());
Expand All @@ -279,9 +240,6 @@ public function map(callable ...$callbacks): BaseInterface
return $this->run(new Walk(...$callbacks), new Normalize());
}

/**
* {@inheritdoc}
*/
public function merge(iterable ...$sources): BaseInterface
{
return $this->run(new Merge(...$sources));
Expand All @@ -302,17 +260,11 @@ public function nullsy(): bool
return $this->transform(new Nullsy());
}

/**
* {@inheritdoc}
*/
public function only(...$keys): BaseInterface
{
return $this->run(new Only(...$keys));
}

/**
* {@inheritdoc}
*/
public function pad(int $size, $value): BaseInterface
{
return $this->run(new Pad($size, $value));
Expand All @@ -323,25 +275,16 @@ public function permutate(): BaseInterface
return $this->run(new Permutate());
}

/**
* {@inheritdoc}
*/
public function pluck($pluck, $default = null): BaseInterface
{
return $this->run(new Pluck($pluck, $default));
}

/**
* {@inheritdoc}
*/
public function prepend(...$items): BaseInterface
{
return $this->run(new Prepend(...$items));
}

/**
* {@inheritdoc}
*/
public function product(iterable ...$iterables): BaseInterface
{
return $this->run(new Product(...$iterables));
Expand All @@ -352,17 +295,11 @@ public static function range(float $start = 0.0, float $end = INF, float $step =
return (new self())->run(new Range($start, $end, $step));
}

/**
* {@inheritdoc}
*/
public function reduce(callable $callback, $initial = null)
{
return $this->transform(new Reduce($callback, $initial));
}

/**
* {@inheritdoc}
*/
public function reduction(callable $callback, $initial = null): BaseInterface
{
return $this->run(new Reduction($callback, $initial));
Expand Down Expand Up @@ -423,9 +360,6 @@ public function tail(?int $length = null): BaseInterface
return $this->run(new Tail($length));
}

/**
* {@inheritdoc}
*/
public static function times(int $number = 0, ?callable $callback = null): BaseInterface
{
return (new self())->run(new Times($number, $callback));
Expand Down Expand Up @@ -461,9 +395,6 @@ public function window(int ...$length): BaseInterface
return $this->run(new Window(...$length));
}

/**
* {@inheritdoc}
*/
public static function with($data = [], ...$parameters): CollectionInterface
{
return new self($data, ...$parameters);
Expand All @@ -474,9 +405,6 @@ public function wrap(): BaseInterface
return $this->run(new Wrap());
}

/**
* {@inheritdoc}
*/
public function zip(iterable ...$iterables): BaseInterface
{
return $this->run(new Zip(...$iterables));
Expand Down

0 comments on commit 5a727ae

Please sign in to comment.