@@ -25,7 +25,6 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @param string $id |
|
| 29 | 28 | * @return self Fluid Interface |
| 30 | 29 | */ |
| 31 | 30 | public function setSlug( $slug ) { |
@@ -35,7 +34,6 @@ discard block |
||
| 35 | 34 | |
| 36 | 35 | |
| 37 | 36 | /** |
| 38 | - * @param string $id |
|
| 39 | 37 | * @return self Fluid Interface |
| 40 | 38 | */ |
| 41 | 39 | public function setName( $name ) { |
@@ -48,7 +46,7 @@ discard block |
||
| 48 | 46 | |
| 49 | 47 | |
| 50 | 48 | /** |
| 51 | - * @param DateTimeInterface $valid_from |
|
| 49 | + * @param \DateTimeInterface $valid_from |
|
| 52 | 50 | * @return self Fluid Interface |
| 53 | 51 | */ |
| 54 | 52 | public function setValidFrom( \DateTimeInterface $valid_from ) { |
@@ -76,7 +74,7 @@ discard block |
||
| 76 | 74 | |
| 77 | 75 | |
| 78 | 76 | /** |
| 79 | - * @param DateTimeInterface $valid_until |
|
| 77 | + * @param \DateTimeInterface $valid_until |
|
| 80 | 78 | * @return self Fluid Interface |
| 81 | 79 | */ |
| 82 | 80 | public function setValidUntil( \DateTimeInterface $valid_until ) { |
@@ -104,7 +102,7 @@ discard block |
||
| 104 | 102 | |
| 105 | 103 | |
| 106 | 104 | /** |
| 107 | - * @return CouponInterface[] |
|
| 105 | + * @return string |
|
| 108 | 106 | * @implements CouponSheetInterface |
| 109 | 107 | */ |
| 110 | 108 | public function getCoupons() { |
@@ -116,7 +114,7 @@ discard block |
||
| 116 | 114 | |
| 117 | 115 | |
| 118 | 116 | /** |
| 119 | - * @param array|\Traversable $coupons |
|
| 117 | + * @param string $coupons |
|
| 120 | 118 | * @return self Fluid Interface |
| 121 | 119 | */ |
| 122 | 120 | public function setCoupons( $coupons ) |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | |
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | - * @return CouponInterface[] |
|
| 97 | + * @return string |
|
| 98 | 98 | * @implements CouponSheetInterface |
| 99 | 99 | */ |
| 100 | 100 | public function getCoupons() { |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | |
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | - * @param array|Traversable $coupon_sheet |
|
| 9 | + * @param array|Traversable $coupon_sheets |
|
| 10 | 10 | */ |
| 11 | 11 | public function setCouponSheets( $coupon_sheets ); |
| 12 | 12 | } |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | use CouponSheetsProviderTrait; |
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | - * @param array|Traversable $coupon_sheet |
|
| 10 | + * @param array|Traversable $coupon_sheets |
|
| 11 | 11 | * @implements CouponSheetsAwareInterface |
| 12 | 12 | * @return self Fluid Interface |
| 13 | 13 | */ |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | namespace Germania\Coupons; |
| 3 | 3 | |
| 4 | 4 | use Psr\Container\ContainerInterface; |
| 5 | -use Psr\Container\NotFoundException; |
|
| 6 | 5 | |
| 7 | 6 | class PdoCouponSheetContainer implements ContainerInterface |
| 8 | 7 | { |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | - * @return ArrayIterator |
|
| 53 | + * @return \ArrayIterator |
|
| 54 | 54 | */ |
| 55 | 55 | public function __invoke( \DateTimeInterface $when, $php_class = null ) |
| 56 | 56 | { |