Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Add missing basket property in AddressType (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
azlotnikov authored and jordisala1991 committed Apr 11, 2017
1 parent c917015 commit 85c52bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions UPGRADE-2.x.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
UPGRADE 2.x
===========

UPGRADE FROM 2.1.1 to 2.x
=========================

### Sonata\CustomerBundle\Form\Type\AddressType

If you redefined this class, note that missing `basket` property was added, which means it is no longer public.

UPGRADE FROM 2.0 to 2.1
=======================

Expand Down
5 changes: 5 additions & 0 deletions src/CustomerBundle/Form/Type/AddressType.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ class AddressType extends AbstractType
*/
protected $name;

/**
* @var BasketInterface
*/
protected $basket;

/**
* @param string $class A class to apply getter
* @param string $getter A getter method name
Expand Down

0 comments on commit 85c52bd

Please sign in to comment.