Skip to content

Commit

Permalink
[framework] admin parameter form now validates parameter name uniquen…
Browse files Browse the repository at this point in the history
…ess within a given locale (#3317)
  • Loading branch information
vitek-rostislav authored Aug 15, 2024
1 parent 6970ea8 commit dd50596
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/Model/Product/Parameter/ParameterFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* @method \App\Model\Product\Parameter\Parameter[] getSliderParametersWithoutTheirsNumericValueFilled()
* @method int getCountOfParameterValuesWithoutTheirsNumericValueFilledQueryBuilder(\App\Model\Product\Parameter\Parameter $parameter)
* @method \App\Model\Product\Parameter\Parameter[] getAllWithTranslations(string $locale)
* @method bool existsParameterByName(string $name, string $locale, \App\Model\Product\Parameter\Parameter|null $excludeParameter = null)
*/
class ParameterFacade extends BaseParameterFacade
{
Expand Down
1 change: 1 addition & 0 deletions app/src/Model/Product/Parameter/ParameterRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
* @method int getCountOfParameterValuesWithoutTheirsNumericValueFilledQueryBuilder(\App\Model\Product\Parameter\Parameter $parameter)
* @method \App\Model\Product\Product[] getProductsByParameterValues(\Shopsys\FrameworkBundle\Model\Product\Parameter\ParameterValue[] $parameterValues)
* @method \App\Model\Product\Parameter\Parameter[] getAllWithTranslations(string $locale)
* @method bool existsParameterByName(string $name, string $locale, \App\Model\Product\Parameter\Parameter|null $excludeParameter = null)
*/
class ParameterRepository extends BaseParameterRepository
{
Expand Down

0 comments on commit dd50596

Please sign in to comment.