Skip to content

Commit 4570eb0

Browse files
Merge pull request #23 from spatie/analysis-XNw12e
Apply fixes from StyleCI
2 parents cec0e48 + e6b0e87 commit 4570eb0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

example/src/Order.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ class Order
1212

1313
/** @var bool */
1414
private $paid;
15-
15+
1616
/** @var \App\OrderLine[] */
1717
private $orderLines;
1818

19-
public function __construct(int $id, string $email, bool $paid, array $orderLines) {
19+
public function __construct(int $id, string $email, bool $paid, array $orderLines)
20+
{
2021
$this->id = $id;
2122
$this->email = $email;
2223
$this->paid = $paid;

example/src/OrderLine.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ class OrderLine
1616
/** @var int */
1717
private $quantity;
1818

19-
public function __construct(int $id, string $description, int $unitPrice, int $quantity) {
19+
public function __construct(int $id, string $description, int $unitPrice, int $quantity)
20+
{
2021
$this->id = $id;
2122
$this->description = $description;
2223
$this->unitPrice = $unitPrice;

0 commit comments

Comments
 (0)