@@ -5,7 +5,6 @@ |
||
5 | 5 | use DusanKasan\Knapsack\Exceptions\InvalidArgument; |
6 | 6 | use DusanKasan\Knapsack\Exceptions\RuntimeException; |
7 | 7 | use PhpSpec\ObjectBehavior; |
8 | -use Prophecy\Argument; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * @mixin InvalidArgument |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use DusanKasan\Knapsack\Exceptions\RuntimeException; |
6 | 6 | use PhpSpec\ObjectBehavior; |
7 | -use Prophecy\Argument; |
|
8 | 7 | |
9 | 8 | class InvalidReturnValueSpec extends ObjectBehavior |
10 | 9 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use DusanKasan\Knapsack\Exceptions\ItemNotFound; |
6 | 6 | use PhpSpec\ObjectBehavior; |
7 | -use Prophecy\Argument; |
|
8 | 7 | use RuntimeException; |
9 | 8 | |
10 | 9 | /** |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use DusanKasan\Knapsack\Exceptions\NoMoreItems; |
6 | 6 | use DusanKasan\Knapsack\Exceptions\RuntimeException; |
7 | 7 | use PhpSpec\ObjectBehavior; |
8 | -use Prophecy\Argument; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * @mixin NoMoreItems |
@@ -56,7 +56,7 @@ |
||
56 | 56 | * $function to the last value in the collection. By default this produces an infinite collection. However you can |
57 | 57 | * end the collection by throwing a NoMoreItems exception. |
58 | 58 | * |
59 | - * @param mixed $input |
|
59 | + * @param integer[] $input |
|
60 | 60 | * @param callable $function |
61 | 61 | * @return Collection |
62 | 62 | */ |