Skip to content

Commit ea0863a

Browse files
author
Andrey Helldar
committed
Attribute renamed to a logical name
1 parent 068ef0f commit ea0863a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Services/Formatter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class Formatter implements Caseable
1818

1919
protected $equals_align = false;
2020

21-
protected $simple = false;
21+
protected $is_simple = false;
2222

2323
protected $pad_length = 4;
2424

@@ -36,7 +36,7 @@ public function setEqualsAlign(): void
3636

3737
public function setSimple(): void
3838
{
39-
$this->simple = true;
39+
$this->is_simple = true;
4040
}
4141

4242
public function raw(array $array, int $pad = 1): string
@@ -51,7 +51,7 @@ public function raw(array $array, int $pad = 1): string
5151
$key = $this->key($key, $keys_size);
5252
$value = $this->value($value, $pad + 1);
5353

54-
$row = $this->simple
54+
$row = $this->is_simple
5555
? "$value," . $this->line_break
5656
: "$key => $value," . $this->line_break;
5757

0 commit comments

Comments
 (0)