@@ -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 |
@@ -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 |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @param string $key |
| 36 | - * @return mixed |
|
| 36 | + * @return boolean |
|
| 37 | 37 | */ |
| 38 | 38 | public static function get($key) |
| 39 | 39 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace BestServedCold\PhalueObjects\Utility; |
| 4 | 4 | |
| 5 | -use BestServedCold\PhalueObjects\Format\Yaml; |
|
| 6 | 5 | use BestServedCold\PhalueObjects\Format\Json\Notation; |
| 6 | +use BestServedCold\PhalueObjects\Format\Yaml; |
|
| 7 | 7 | use BestServedCold\PhalueObjects\Pattern\Singleton; |
| 8 | 8 | use BestServedCold\PhalueObjects\VOArray\Find; |
| 9 | 9 | |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace BestServedCold\PhalueObjects\VOArray; |
| 4 | 4 | |
| 5 | -use BestServedCold\PhalueObjects\VOArray; |
|
| 6 | -use BestServedCold\PhalueObjects\Exception\InvalidTypeException; |
|
| 7 | 5 | use BestServedCold\PhalueObjects\Contract\ValueObject; |
| 6 | +use BestServedCold\PhalueObjects\Exception\InvalidTypeException; |
|
| 7 | +use BestServedCold\PhalueObjects\VOArray; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Trait Metric |