Skip to content

Commit d153891

Browse files
WorksDevusox
authored andcommitted
#5 Preparation Adjustment Method Names
1 parent ce2bdaf commit d153891

18 files changed

+81
-81
lines changed

src/Struct/Account/AccountingItem.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class AccountingItem implements AccountingItemInterface
1717
/**
1818
* @var int
1919
*/
20-
private $customerId;
20+
private $mandatorId;
2121

2222
/**
2323
* @var string
@@ -31,18 +31,18 @@ class AccountingItem implements AccountingItemInterface
3131

3232
/**
3333
* @param string $description
34-
* @param int $customerId
34+
* @param int $mandatorId
3535
* @param string $accountingDate
3636
* @param int $chargeCount
3737
*/
3838
public function __construct(
3939
string $description = null,
40-
int $customerId = null,
40+
int $mandatorId = null,
4141
string $accountingDate = null,
4242
int $chargeCount = null
4343
) {
4444
$this->description = $description;
45-
$this->customerId = $customerId;
45+
$this->mandatorId = $mandatorId;
4646
$this->accountingDate = $accountingDate;
4747
$this->chargeCount = $chargeCount;
4848
}
@@ -58,9 +58,9 @@ public function getDescription(): string
5858
/**
5959
* @return int
6060
*/
61-
public function getCustomerId(): int
61+
public function getMandatorId(): int
6262
{
63-
return $this->customerId;
63+
return $this->mandatorId;
6464
}
6565

6666
/**

src/Struct/Account/AccountingItemInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function getDescription(): string;
1919
/**
2020
* @return int
2121
*/
22-
public function getCustomerId(): int;
22+
public function getMandatorId(): int;
2323

2424
/**
2525
* @return string

src/Struct/Blacklist/BlackList.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@ class BlackList implements BlackListInterface
1414
/**
1515
* @var int
1616
*/
17-
private $customerId;
17+
private $mandatorId;
1818

1919
/**
2020
* @var BlackListItemInterface[]
2121
*/
2222
private $items;
2323

2424
/**
25-
* @param int $customerId
25+
* @param int $mandatorId
2626
* @param array $items
2727
*/
28-
public function __construct(int $customerId = null, array $items = null)
28+
public function __construct(int $mandatorId = null, array $items = null)
2929
{
30-
$this->customerId = $customerId;
30+
$this->mandatorId = $mandatorId;
3131
$this->items = $items;
3232
}
3333

3434
/**
3535
* @return int
3636
*/
37-
public function getCustomerId(): int
37+
public function getMandatorId(): int
3838
{
39-
return $this->customerId;
39+
return $this->mandatorId;
4040
}
4141

4242
/**

src/Struct/Blacklist/BlackListInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface BlackListInterface extends StructInterface
1616
/**
1717
* @return int
1818
*/
19-
public function getCustomerId(): int;
19+
public function getMandatorId(): int;
2020

2121
/**
2222
* @return BlackListItemInterface[]

src/Struct/Generic/ResourceInformation.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,35 +34,35 @@ class ResourceInformation implements ResourceInformationInterface
3434
/**
3535
* @var int
3636
*/
37-
private $categoryId;
37+
private $folderId;
3838

3939
/**
4040
* @var int
4141
*/
42-
private $customerId;
42+
private $mandatorId;
4343

4444
/**
4545
* @param int $id
4646
* @param string $name
4747
* @param string $url
4848
* @param int $typeId
49-
* @param int $categoryId
50-
* @param int $customerId
49+
* @param int $folderId
50+
* @param int $mandatorId
5151
*/
5252
public function __construct(
5353
int $id = null,
5454
string $name = null,
5555
string $url = null,
5656
int $typeId = null,
57-
int $categoryId = null,
58-
int $customerId = null
57+
int $folderId = null,
58+
int $mandatorId = null
5959
) {
6060
$this->id = $id;
6161
$this->name = $name;
6262
$this->url = $url;
6363
$this->typeId = $typeId;
64-
$this->categoryId = $categoryId;
65-
$this->customerId = $customerId;
64+
$this->folderId = $folderId;
65+
$this->mandatorId = $mandatorId;
6666
}
6767

6868
/**
@@ -100,16 +100,16 @@ public function getTypeId(): int
100100
/**
101101
* @return int
102102
*/
103-
public function getCategoryId(): int
103+
public function getFolderId(): int
104104
{
105-
return $this->categoryId;
105+
return $this->folderId;
106106
}
107107

108108
/**
109109
* @return int
110110
*/
111-
public function getCustomerId(): int
111+
public function getMandatorId(): int
112112
{
113-
return $this->customerId;
113+
return $this->mandatorId;
114114
}
115115
}

src/Struct/Generic/ResourceInformationInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ public function getTypeId(): int;
3737
/**
3838
* @return int
3939
*/
40-
public function getCategoryId(): int;
40+
public function getFolderId(): int;
4141

4242
/**
4343
* @return int
4444
*/
45-
public function getCustomerId(): int;
45+
public function getMandatorId(): int;
4646
}

src/Struct/Mailing/MailingDetail.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ class MailingDetail implements MailingDetailInterface
3434
/**
3535
* @var int
3636
*/
37-
private $categoryId;
37+
private $folderId;
3838

3939
/**
4040
* @var int
4141
*/
42-
private $customerId;
42+
private $mandatorId;
4343

4444
/**
4545
* @var int
@@ -96,8 +96,8 @@ class MailingDetail implements MailingDetailInterface
9696
* @param string $name
9797
* @param string $url
9898
* @param int $typeId
99-
* @param int $categoryId
100-
* @param int $customerId
99+
* @param int $folderId
100+
* @param int $mandatorId
101101
* @param int $timestamp
102102
* @param int $recipients
103103
* @param bool $sent
@@ -114,8 +114,8 @@ public function __construct(
114114
string $name = null,
115115
string $url = null,
116116
int $typeId = null,
117-
int $categoryId = null,
118-
int $customerId = null,
117+
int $folderId = null,
118+
int $mandatorId = null,
119119
int $timestamp = null,
120120
int $recipients = null,
121121
bool $sent = null,
@@ -131,8 +131,8 @@ public function __construct(
131131
$this->name = $name;
132132
$this->url = $url;
133133
$this->typeId = $typeId;
134-
$this->categoryId = $categoryId;
135-
$this->customerId = $customerId;
134+
$this->folderId = $folderId;
135+
$this->mandatorId = $mandatorId;
136136
$this->timestamp = $timestamp;
137137
$this->recipients = $recipients;
138138
$this->sent = $sent;
@@ -180,17 +180,17 @@ public function getTypeId(): int
180180
/**
181181
* @return int
182182
*/
183-
public function getCategoryId(): int
183+
public function getFolderId(): int
184184
{
185-
return $this->categoryId;
185+
return $this->folderId;
186186
}
187187

188188
/**
189189
* @return int
190190
*/
191-
public function getCustomerId(): int
191+
public function getMandatorId(): int
192192
{
193-
return $this->customerId;
193+
return $this->mandatorId;
194194
}
195195

196196
/**

src/Struct/Mailing/MailingDetailInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ public function getTypeId(): int;
3636
/**
3737
* @return int
3838
*/
39-
public function getCategoryId(): int;
39+
public function getFolderId(): int;
4040

4141
/**
4242
* @return int
4343
*/
44-
public function getCustomerId(): int;
44+
public function getMandatorId(): int;
4545

4646
/**
4747
* @return int

src/Struct/Statistic/FormStatistic.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ class FormStatistic implements FormStatisticInterface
3434
/**
3535
* @var int
3636
*/
37-
private $categoryId;
37+
private $folderId;
3838

3939
/**
4040
* @var int
4141
*/
42-
private $customerId;
42+
private $mandatorId;
4343

4444
/**
4545
*
@@ -82,8 +82,8 @@ class FormStatistic implements FormStatisticInterface
8282
* @param string $name
8383
* @param string $url
8484
* @param int $typeId
85-
* @param int $categoryId
86-
* @param int $customerId
85+
* @param int $folderId
86+
* @param int $mandatorId
8787
* @param bool $isAlias
8888
* @param int $impressions
8989
* @param int $succeeded
@@ -97,8 +97,8 @@ public function __construct(
9797
string $name = null,
9898
string $url = null,
9999
int $typeId = null,
100-
int $categoryId = null,
101-
int $customerId = null,
100+
int $folderId = null,
101+
int $mandatorId = null,
102102
bool $isAlias = null,
103103
int $impressions = null,
104104
int $succeeded = null,
@@ -111,8 +111,8 @@ public function __construct(
111111
$this->name = $name;
112112
$this->url = $url;
113113
$this->typeId = $typeId;
114-
$this->categoryId = $categoryId;
115-
$this->customerId = $customerId;
114+
$this->folderId = $folderId;
115+
$this->mandatorId = $mandatorId;
116116
$this->isAlias = $isAlias;
117117
$this->impressions = $impressions;
118118
$this->succeeded = $succeeded;
@@ -157,17 +157,17 @@ public function getTypeId(): int
157157
/**
158158
* @return int
159159
*/
160-
public function getCategoryId(): int
160+
public function getFolderId(): int
161161
{
162-
return $this->categoryId;
162+
return $this->folderId;
163163
}
164164

165165
/**
166166
* @return int
167167
*/
168-
public function getCustomerId(): int
168+
public function getMandatorId(): int
169169
{
170-
return $this->customerId;
170+
return $this->mandatorId;
171171
}
172172

173173
/**

src/Struct/Statistic/FormStatisticInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ public function getTypeId(): int;
3636
/**
3737
* @return int
3838
*/
39-
public function getCategoryId(): int;
39+
public function getFolderId(): int;
4040

4141
/**
4242
* @return int
4343
*/
44-
public function getCustomerId(): int;
44+
public function getMandatorId(): int;
4545

4646
/**
4747
* @return bool

0 commit comments

Comments
 (0)