@@ -10,13 +10,13 @@ discard block |
||
10 | 10 | abstract class AbstractPass implements PassInterface |
11 | 11 | { |
12 | 12 | /** |
13 | - * @var bool Whether the current set of strings is optional |
|
14 | - */ |
|
13 | + * @var bool Whether the current set of strings is optional |
|
14 | + */ |
|
15 | 15 | protected $isOptional; |
16 | 16 | |
17 | 17 | /** |
18 | - * {@inheritdoc} |
|
19 | - */ |
|
18 | + * {@inheritdoc} |
|
19 | + */ |
|
20 | 20 | public function run(array $strings) |
21 | 21 | { |
22 | 22 | $strings = $this->beforeRun($strings); |
@@ -27,11 +27,11 @@ discard block |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
30 | - * Process the list of strings after the pass is run |
|
31 | - * |
|
32 | - * @param array[] $strings |
|
33 | - * @return array[] |
|
34 | - */ |
|
30 | + * Process the list of strings after the pass is run |
|
31 | + * |
|
32 | + * @param array[] $strings |
|
33 | + * @return array[] |
|
34 | + */ |
|
35 | 35 | protected function afterRun(array $strings) |
36 | 36 | { |
37 | 37 | if ($this->isOptional && $strings[0] !== []) |
@@ -43,11 +43,11 @@ discard block |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
46 | - * Prepare the list of strings before the pass is run |
|
47 | - * |
|
48 | - * @param array[] $strings |
|
49 | - * @return array[] |
|
50 | - */ |
|
46 | + * Prepare the list of strings before the pass is run |
|
47 | + * |
|
48 | + * @param array[] $strings |
|
49 | + * @return array[] |
|
50 | + */ |
|
51 | 51 | protected function beforeRun(array $strings) |
52 | 52 | { |
53 | 53 | $this->isOptional = (isset($strings[0]) && $strings[0] === []); |
@@ -60,10 +60,10 @@ discard block |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * Process a given list of strings |
|
64 | - * |
|
65 | - * @param array[] $strings |
|
66 | - * @return array[] |
|
67 | - */ |
|
63 | + * Process a given list of strings |
|
64 | + * |
|
65 | + * @param array[] $strings |
|
66 | + * @return array[] |
|
67 | + */ |
|
68 | 68 | abstract protected function processStrings(array $strings); |
69 | 69 | } |
70 | 70 | \ No newline at end of file |