Skip to content

Commit 8aa0222

Browse files
jdecoolSimonMellerin
authored andcommitted
docs: fix PHP array syntax in anonymization examples
1 parent 1342c4a commit 8aa0222

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/content/anonymization/core-anonymizers/address.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ use MakinaCorpus\DbToolsBundle\Attribute\Anonymize;
4747
#[ORM\Table(name: 'customer')]
4848
#[Anonymize(type: 'address', options: [ // [!code ++]
4949
'street_address' => 'street', // [!code ++]
50-
'secondary_address': 'street_second_line' // [!code ++]
50+
'secondary_address' => 'street_second_line' // [!code ++]
5151
'postal_code' => 'zip_code', // [!code ++]
5252
'locality' => 'city', // [!code ++]
5353
'region' => 'region' // [!code ++]

docs/content/anonymization/core-anonymizers/iban-bic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use MakinaCorpus\DbToolsBundle\Attribute\Anonymize;
4545
#[ORM\Table(name: 'customer')]
4646
#[Anonymize(type: 'iban-bic', options: [ // [!code ++]
4747
'iban' => 'account_iban', // [!code ++]
48-
'bic': 'account_bic' // [!code ++]
48+
'bic' => 'account_bic' // [!code ++]
4949
])] // [!code ++]
5050
class Customer
5151
{

docs/content/anonymization/essentials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ use MakinaCorpus\DbToolsBundle\Attribute\Anonymize;
166166
#[ORM\Table(name: 'customer')]
167167
#[Anonymize(type: 'address', options: [ // [!code ++]
168168
'street_address' => 'street', // [!code ++]
169-
'secondary_address': 'street_second_line' // [!code ++]
169+
'secondary_address' => 'street_second_line' // [!code ++]
170170
'postal_code' => 'zip_code', // [!code ++]
171171
'locality' => 'city', // [!code ++]
172172
'region' => 'region' // [!code ++]

0 commit comments

Comments
 (0)