@@ -91,8 +91,8 @@ |
||
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | - * @param array $columns |
|
| 95 | - * @param array $fields |
|
| 94 | + * @param NodeElement[] $columns |
|
| 95 | + * @param string[] $fields |
|
| 96 | 96 | * |
| 97 | 97 | * @return bool |
| 98 | 98 | */ |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | 104 | * @param int $statusCode |
| 105 | - * @param mixed $streamMock |
|
| 105 | + * @param Mock $streamMock |
|
| 106 | 106 | * |
| 107 | 107 | * @return Mock |
| 108 | 108 | */ |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | 87 | * @param string $source |
| 88 | - * @param mixed $content |
|
| 88 | + * @param string $content |
|
| 89 | 89 | * |
| 90 | 90 | * @throws \RuntimeException |
| 91 | 91 | */ |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | |
| 99 | 99 | /** |
| 100 | 100 | * @param string $source |
| 101 | - * @param mixed $content |
|
| 101 | + * @param string $content |
|
| 102 | 102 | * |
| 103 | 103 | * @throws \RuntimeException |
| 104 | 104 | */ |
@@ -22,14 +22,19 @@ |
||
| 22 | 22 | * @param string $email |
| 23 | 23 | * |
| 24 | 24 | * @throws \InvalidArgumentException |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function logIn($email); |
| 27 | 28 | |
| 29 | + /** |
|
| 30 | + * @return void |
|
| 31 | + */ |
|
| 28 | 32 | public function logOut(); |
| 29 | 33 | |
| 30 | 34 | /** |
| 31 | 35 | * @param UserInterface $user |
| 32 | 36 | * @param callable $action |
| 37 | + * @return void |
|
| 33 | 38 | */ |
| 34 | 39 | public function performActionAs(UserInterface $user, callable $action); |
| 35 | 40 | } |
@@ -71,6 +71,9 @@ |
||
| 71 | 71 | $this->validate($address, $constraint); |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | + /** |
|
| 75 | + * @param string $propertyPath |
|
| 76 | + */ |
|
| 74 | 77 | private function createViolation($propertyPath) |
| 75 | 78 | { |
| 76 | 79 | return new ConstraintViolation('message', 'template', [], 'root', $propertyPath, 'invalidValue'); |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | /** |
| 120 | 120 | * @param array $config |
| 121 | 121 | * |
| 122 | - * @return array |
|
| 122 | + * @return ContainerBuilder |
|
| 123 | 123 | */ |
| 124 | 124 | private function defineDefaultOrmRepository(array $config) |
| 125 | 125 | { |
@@ -83,7 +83,6 @@ discard block |
||
| 83 | 83 | /** |
| 84 | 84 | * Redirect to specific URL or to cart. |
| 85 | 85 | * |
| 86 | - * @param Request $request |
|
| 87 | 86 | * |
| 88 | 87 | * @return RedirectResponse |
| 89 | 88 | */ |
@@ -105,7 +104,6 @@ discard block |
||
| 105 | 104 | * If the item is found and the current user cart contains that item, |
| 106 | 105 | * it will be removed and the cart - refreshed and saved. |
| 107 | 106 | * |
| 108 | - * @param mixed $id |
|
| 109 | 107 | * |
| 110 | 108 | * @return Response |
| 111 | 109 | */ |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - * @return CartInterface|null |
|
| 59 | + * @return CartInterface |
|
| 60 | 60 | */ |
| 61 | 61 | public function getCurrentCart() |
| 62 | 62 | { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * Returns current cart. |
| 54 | 54 | * |
| 55 | - * @return null|CartInterface |
|
| 55 | + * @return CartInterface |
|
| 56 | 56 | */ |
| 57 | 57 | public function getCurrentCart() |
| 58 | 58 | { |