Skip to content

Commit 53ac2c8

Browse files
committed
Generalize variable names.
1 parent 107c9c7 commit 53ac2c8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/PleskX/Api/Operator/Customer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public function delete($field, $value)
4444
*/
4545
public function get($field, $value)
4646
{
47-
$customers = $this->_get($field, $value);
48-
return reset($customers);
47+
$items = $this->_get($field, $value);
48+
return reset($items);
4949
}
5050

5151
/**

src/PleskX/Api/Operator/DatabaseServer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public function getSupportedTypes()
2626
*/
2727
public function get($field, $value)
2828
{
29-
$customers = $this->_get($field, $value);
30-
return reset($customers);
29+
$items = $this->_get($field, $value);
30+
return reset($items);
3131
}
3232

3333
/**

src/PleskX/Api/Operator/ServicePlan.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class ServicePlan extends \PleskX\Api\Operator
1515
*/
1616
public function get($field, $value)
1717
{
18-
$customers = $this->_get($field, $value);
19-
return reset($customers);
18+
$items = $this->_get($field, $value);
19+
return reset($items);
2020
}
2121

2222
/**

0 commit comments

Comments
 (0)