@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
| 15 | 15 | use Doctrine\Common\Collections\Collection; |
| 16 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
| 17 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
| 18 | 17 | |
| 19 | 18 | /** |
| 20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
| 15 | 15 | use Doctrine\Common\Collections\Collection; |
| 16 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
| 17 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
| 18 | 17 | |
| 19 | 18 | /** |
| 20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
| 15 | 15 | use Doctrine\Common\Collections\Collection; |
| 16 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
| 17 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
| 18 | 17 | |
| 19 | 18 | /** |
| 20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
| 15 | 15 | use Doctrine\Common\Collections\Collection; |
| 16 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
| 17 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
| 18 | 17 | |
| 19 | 18 | /** |
| 20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
| 15 | 15 | use Doctrine\Common\Collections\Collection; |
| 16 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
| 17 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
| 18 | 17 | |
| 19 | 18 | /** |
| 20 | 19 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -199,6 +199,7 @@ |
||
| 199 | 199 | |
| 200 | 200 | /** |
| 201 | 201 | * {@inheritdoc} |
| 202 | + * @param string $name |
|
| 202 | 203 | */ |
| 203 | 204 | protected function getElement($name, array $parameters = []) |
| 204 | 205 | { |
@@ -38,17 +38,20 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @param string $name |
| 41 | + * @return void |
|
| 41 | 42 | */ |
| 42 | 43 | public function deleteTaxonOnPageByName($name); |
| 43 | 44 | |
| 44 | 45 | /** |
| 45 | 46 | * @param string $description |
| 46 | 47 | * @param string $languageCode |
| 48 | + * @return void |
|
| 47 | 49 | */ |
| 48 | 50 | public function describeItAs($description, $languageCode); |
| 49 | 51 | |
| 50 | 52 | /** |
| 51 | 53 | * @param TaxonInterface $taxon |
| 54 | + * @return void |
|
| 52 | 55 | */ |
| 53 | 56 | public function chooseParent(TaxonInterface $taxon); |
| 54 | 57 | |
@@ -62,33 +65,39 @@ discard block |
||
| 62 | 65 | /** |
| 63 | 66 | * @param string $name |
| 64 | 67 | * @param string $languageCode |
| 68 | + * @return void |
|
| 65 | 69 | */ |
| 66 | 70 | public function nameIt($name, $languageCode); |
| 67 | 71 | |
| 68 | 72 | /** |
| 69 | 73 | * @param string $code |
| 74 | + * @return void |
|
| 70 | 75 | */ |
| 71 | 76 | public function specifyCode($code); |
| 72 | 77 | |
| 73 | 78 | /** |
| 74 | 79 | * @param string $slug |
| 75 | 80 | * @param string $languageCode |
| 81 | + * @return void |
|
| 76 | 82 | */ |
| 77 | 83 | public function specifySlug($slug, $languageCode); |
| 78 | 84 | |
| 79 | 85 | /** |
| 80 | 86 | * @param string $path |
| 81 | 87 | * @param string $code |
| 88 | + * @return void |
|
| 82 | 89 | */ |
| 83 | 90 | public function attachImage($path, $code = null); |
| 84 | 91 | |
| 85 | 92 | /** |
| 86 | 93 | * @param TaxonInterface $taxon |
| 94 | + * @return void |
|
| 87 | 95 | */ |
| 88 | 96 | public function moveUp(TaxonInterface $taxon); |
| 89 | 97 | |
| 90 | 98 | /** |
| 91 | 99 | * @param TaxonInterface $taxon |
| 100 | + * @return void |
|
| 92 | 101 | */ |
| 93 | 102 | public function moveDown(TaxonInterface $taxon); |
| 94 | 103 | |
@@ -112,11 +121,13 @@ discard block |
||
| 112 | 121 | /** |
| 113 | 122 | * @param TaxonInterface $taxon |
| 114 | 123 | * @param int $expectedPosition |
| 124 | + * @return void |
|
| 115 | 125 | */ |
| 116 | 126 | public function waitForTaxonRelocation(TaxonInterface $taxon, $expectedPosition); |
| 117 | 127 | |
| 118 | 128 | /** |
| 119 | 129 | * @param string $locale |
| 130 | + * @return void |
|
| 120 | 131 | */ |
| 121 | 132 | public function activateLanguageTab($locale); |
| 122 | 133 | } |
@@ -23,11 +23,13 @@ discard block |
||
| 23 | 23 | /** |
| 24 | 24 | * @param string $description |
| 25 | 25 | * @param string $languageCode |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function describeItAs($description, $languageCode); |
| 28 | 29 | |
| 29 | 30 | /** |
| 30 | 31 | * @param TaxonInterface $taxon |
| 32 | + * @return void |
|
| 31 | 33 | */ |
| 32 | 34 | public function chooseParent(TaxonInterface $taxon); |
| 33 | 35 | |
@@ -39,12 +41,14 @@ discard block |
||
| 39 | 41 | /** |
| 40 | 42 | * @param string $name |
| 41 | 43 | * @param string $languageCode |
| 44 | + * @return void |
|
| 42 | 45 | */ |
| 43 | 46 | public function nameIt($name, $languageCode); |
| 44 | 47 | |
| 45 | 48 | /** |
| 46 | 49 | * @param string $slug |
| 47 | 50 | * @param string $languageCode |
| 51 | + * @return void |
|
| 48 | 52 | */ |
| 49 | 53 | public function specifySlug($slug, $languageCode); |
| 50 | 54 | |
@@ -56,6 +60,7 @@ discard block |
||
| 56 | 60 | /** |
| 57 | 61 | * @param string $path |
| 58 | 62 | * @param string $code |
| 63 | + * @return void |
|
| 59 | 64 | */ |
| 60 | 65 | public function attachImage($path, $code = null); |
| 61 | 66 | |
@@ -75,13 +80,18 @@ discard block |
||
| 75 | 80 | |
| 76 | 81 | /** |
| 77 | 82 | * @param string $code |
| 83 | + * @return void |
|
| 78 | 84 | */ |
| 79 | 85 | public function removeImageWithCode($code); |
| 80 | 86 | |
| 87 | + /** |
|
| 88 | + * @return void |
|
| 89 | + */ |
|
| 81 | 90 | public function removeFirstImage(); |
| 82 | 91 | |
| 83 | 92 | /** |
| 84 | 93 | * @param string $languageCode |
| 94 | + * @return void |
|
| 85 | 95 | */ |
| 86 | 96 | public function enableSlugModification($languageCode = 'en_US'); |
| 87 | 97 | |
@@ -93,6 +103,7 @@ discard block |
||
| 93 | 103 | /** |
| 94 | 104 | * @param string $code |
| 95 | 105 | * @param string $path |
| 106 | + * @return void |
|
| 96 | 107 | */ |
| 97 | 108 | public function changeImageWithCode($code, $path); |
| 98 | 109 | |
@@ -126,6 +137,7 @@ discard block |
||
| 126 | 137 | |
| 127 | 138 | /** |
| 128 | 139 | * @param string $locale |
| 140 | + * @return void |
|
| 129 | 141 | */ |
| 130 | 142 | public function activateLanguageTab($locale); |
| 131 | 143 | } |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Behat\Page\Admin\Customer; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Behat\Page\SymfonyPage; |
| 15 | -use Webmozart\Assert\Assert; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * @author Magdalena Banasiak <[email protected]> |