@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | * This file contains only the AutomatedEditsHelper class. |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace AppBundle\Helper; |
| 9 | 9 | |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | ); |
| 97 | 97 | |
| 98 | 98 | // Finally, populate the 'label' with the tool name, if a label doesn't already exist. |
| 99 | - array_walk($this->tools[$projectDomain], function (&$data, $tool): void { |
|
| 99 | + array_walk($this->tools[$projectDomain], function(&$data, $tool): void { |
|
| 100 | 100 | $data['label'] = $data['label'] ?? $tool; |
| 101 | 101 | }); |
| 102 | 102 | |
@@ -154,14 +154,14 @@ discard block |
||
| 154 | 154 | |
| 155 | 155 | $revertEntries = array_filter( |
| 156 | 156 | $this->getTools($project), |
| 157 | - function ($tool) { |
|
| 157 | + function($tool) { |
|
| 158 | 158 | return isset($tool['revert']); |
| 159 | 159 | } |
| 160 | 160 | ); |
| 161 | 161 | |
| 162 | 162 | // If 'revert' is set to `true`, then use 'regex' as the regular expression, |
| 163 | 163 | // otherwise 'revert' is assumed to be the regex string. |
| 164 | - $this->revertTools[$projectDomain] = array_map(function ($revertTool) { |
|
| 164 | + $this->revertTools[$projectDomain] = array_map(function($revertTool) { |
|
| 165 | 165 | return [ |
| 166 | 166 | 'link' => $revertTool['link'], |
| 167 | 167 | 'regex' => true === $revertTool['revert'] ? $revertTool['regex'] : $revertTool['revert'], |