@@ -103,7 +103,7 @@ |
||
| 103 | 103 | * Iterates through an array of values and finds a key. If it makes it to the final value, |
| 104 | 104 | * it returns what ever value matches that key. |
| 105 | 105 | * |
| 106 | - * @param ArrayValueObject $arrayValueObject |
|
| 106 | + * @param ArrayVO $arrayValueObject |
|
| 107 | 107 | * @return bool|mixed |
| 108 | 108 | */ |
| 109 | 109 | public function findArrayVO(ArrayVO $arrayValueObject) |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace BestServedCold\PhalueObjects; |
| 4 | 4 | |
| 5 | -use BestServedCold\PhalueObjects\Contract\Arrayable; |
|
| 6 | -use BestServedCold\PhalueObjects\Contract\Countable; |
|
| 7 | -use BestServedCold\PhalueObjects\Exception\InvalidTypeException; |
|
| 8 | -use BestServedCold\PhalueObjects\Format\Json\Notation; |
|
| 5 | +use BestServedCold\PhalueObjects\Contract\Arrayable; |
|
| 6 | +use BestServedCold\PhalueObjects\Contract\Countable; |
|
| 7 | +use BestServedCold\PhalueObjects\Exception\InvalidTypeException; |
|
| 8 | +use BestServedCold\PhalueObjects\Format\Json\Notation; |
|
| 9 | 9 | use Iterator; |
| 10 | 10 | |
| 11 | 11 | /** |
@@ -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 |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * File constructor. |
| 20 | - * @param array $value |
|
| 20 | + * @param string $value |
|
| 21 | 21 | * @param bool $mustExist |
| 22 | 22 | * @param int $timeout |
| 23 | 23 | */ |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php namespace BestServedCold\PhalueObjects; |
| 2 | 2 | |
| 3 | -use BestServedCold\PhalueObjects\Format\Json; |
|
| 4 | -use BestServedCold\PhalueObjects\Format\Xml; |
|
| 3 | +use BestServedCold\PhalueObjects\Format\Json; |
|
| 4 | +use BestServedCold\PhalueObjects\Format\Xml; |
|
| 5 | 5 | use BestServedCold\PhalueObjects\Format\Yaml; |
| 6 | 6 | |
| 7 | 7 | /** |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace BestServedCold\PhalueObjects; |
| 4 | 4 | |
| 5 | +use BestServedCold\PhalueObjects\Contract\ValueObject as ValueObjectInterface; |
|
| 5 | 6 | use InvalidArgumentException; |
| 6 | -use BestServedCold\PhalueObjects\Contract\ValueObject as ValueObjectInterface; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Class ValueObject |