@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace BestServedCold\PhalueObjects\DateTime; |
4 | 4 | |
5 | +use BestServedCold\PhalueObjects\Contract\DateTime as DateTimeInterface; |
|
5 | 6 | use BestServedCold\PhalueObjects\Mathematical\Operator\ArithmeticTrait; |
6 | 7 | use BestServedCold\PhalueObjects\Mathematical\Operator\ComparisonTrait; |
7 | 8 | use BestServedCold\PhalueObjects\Mathematical\Operator\TypeTrait; |
8 | -use BestServedCold\PhalueObjects\Contract\DateTime as DateTimeInterface; |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Class DateTimeTrait |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace BestServedCold\PhalueObjects\DateTime; |
4 | 4 | |
5 | +use BestServedCold\PhalueObjects\Contract\DateTime as DateTimeInterface; |
|
5 | 6 | use BestServedCold\PhalueObjects\DateTime\Unit\Hour; |
6 | 7 | use BestServedCold\PhalueObjects\DateTime\Unit\Minute; |
7 | 8 | use BestServedCold\PhalueObjects\DateTime\Unit\Second; |
8 | 9 | use BestServedCold\PhalueObjects\Variadic; |
9 | -use BestServedCold\PhalueObjects\Contract\DateTime as DateTimeInterface; |
|
10 | 10 | |
11 | 11 | /** |
12 | 12 | * Class Time |
@@ -11,7 +11,7 @@ |
||
11 | 11 | { |
12 | 12 | /** |
13 | 13 | * @param $options |
14 | - * @return mixed |
|
14 | + * @return \BestServedCold\PhalueObjects\Request\Curl |
|
15 | 15 | */ |
16 | 16 | public static function auto(array $options = []); |
17 | 17 | } |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php namespace BestServedCold\PhalueObjects\File; |
2 | 2 | |
3 | -use BestServedCold\PhalueObjects\Exception\InvalidTypeException; |
|
4 | -use BestServedCold\PhalueObjects\File; |
|
3 | +use BestServedCold\PhalueObjects\Exception\InvalidTypeException; |
|
4 | +use BestServedCold\PhalueObjects\File; |
|
5 | 5 | use BestServedCold\PhalueObjects\Request\Curl\Url as CurlUrl; |
6 | 6 | |
7 | 7 | /** |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
37 | - * @param $resource |
|
37 | + * @param resource $resource |
|
38 | 38 | * @param array $options |
39 | 39 | * @return static |
40 | 40 | */ |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @param array $options |
|
47 | + * @param string[] $options |
|
48 | 48 | * @return static |
49 | 49 | */ |
50 | 50 | public static function auto(array $options = []) |
@@ -11,7 +11,7 @@ |
||
11 | 11 | { |
12 | 12 | /** |
13 | 13 | * @param float $float |
14 | - * @return mixed |
|
14 | + * @return \BestServedCold\PhalueObjects\VOFloat |
|
15 | 15 | */ |
16 | 16 | public static function fromFloat($float); |
17 | 17 |
@@ -44,6 +44,7 @@ |
||
44 | 44 | |
45 | 45 | /** |
46 | 46 | * @inheritdoc |
47 | + * @return void |
|
47 | 48 | */ |
48 | 49 | public function __destruct(); |
49 | 50 | } |
@@ -2,14 +2,14 @@ |
||
2 | 2 | |
3 | 3 | namespace BestServedCold\PhalueObjects; |
4 | 4 | |
5 | -use BestServedCold\PhalueObjects\Contract\Arrayable; |
|
6 | -use BestServedCold\PhalueObjects\Contract\Diffable; |
|
7 | -use BestServedCold\PhalueObjects\Contract\ValueObject as ValueObjectInterface; |
|
8 | -use BestServedCold\PhalueObjects\VOArray\Iterator as IteratorTrait; |
|
9 | -use BestServedCold\PhalueObjects\VOArray\Key; |
|
10 | -use BestServedCold\PhalueObjects\VOArray\Metric; |
|
11 | -use BestServedCold\PhalueObjects\VOArray\Mutate; |
|
12 | -use BestServedCold\PhalueObjects\VOArray\Pointer; |
|
5 | +use BestServedCold\PhalueObjects\Contract\Arrayable; |
|
6 | +use BestServedCold\PhalueObjects\Contract\Diffable; |
|
7 | +use BestServedCold\PhalueObjects\Contract\ValueObject as ValueObjectInterface; |
|
8 | +use BestServedCold\PhalueObjects\VOArray\Iterator as IteratorTrait; |
|
9 | +use BestServedCold\PhalueObjects\VOArray\Key; |
|
10 | +use BestServedCold\PhalueObjects\VOArray\Metric; |
|
11 | +use BestServedCold\PhalueObjects\VOArray\Mutate; |
|
12 | +use BestServedCold\PhalueObjects\VOArray\Pointer; |
|
13 | 13 | use Iterator; |
14 | 14 | |
15 | 15 | /** |
@@ -49,7 +49,7 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @param $arrayValue |
|
52 | + * @param string $arrayValue |
|
53 | 53 | * @return int|string |
54 | 54 | */ |
55 | 55 | public function keyFromArrayValue($arrayValue) |