Completed
Push — master ( 288281...cbc484 )
by Dion
05:31 queued 02:42
created
src/Command/SectionCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     protected function getSection(InputInterface $input, OutputInterface $output): ?SectionInterface
74 74
     {
75 75
         $question = new Question('<question>Choose record.</question> (#id): ');
76
-        $question->setValidator(function ($id) {
76
+        $question->setValidator(function($id) {
77 77
             try {
78 78
                 return $this->sectionManager->read(Id::fromInt((int) $id));
79 79
             } catch (SectionNotFoundException $exception) {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     protected function getSections(InputInterface $input, OutputInterface $output): array
98 98
     {
99 99
         $question = new Question('<question>Choose record.</question> (#id): ');
100
-        $question->setValidator(function ($id) {
100
+        $question->setValidator(function($id) {
101 101
             try {
102 102
                 if ($id === self::ALL) {
103 103
                     return $this->sectionManager->readAll();
Please login to merge, or discard this patch.