Passed
Push — master ( 31cac0...d9f189 )
by Sergey
47s
created
src/LTDBeget/sphinx/informer/Informer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function getOptionInfo(eSection $section, eOption $optionName) : OptionInfo
49 49
     {
50
-        if (! $this->isSectionExist($section)) {
50
+        if (!$this->isSectionExist($section)) {
51 51
             throw new InformerRuntimeException("Sphinx of version {$this->version} does't have section {$section}");
52 52
         }
53 53
 
54
-        if (! $this->isKnownOption($section, $optionName)) {
54
+        if (!$this->isKnownOption($section, $optionName)) {
55 55
             throw new InformerRuntimeException("For sphinx v. {$this->version} option {$optionName} in {$section} isn't available");
56 56
         }
57 57
         
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function iterateOptionInfo(eSection $section)
96 96
     {
97
-        if (! $this->isSectionExist($section)) {
97
+        if (!$this->isSectionExist($section)) {
98 98
             throw new InformerRuntimeException("Sphinx of version {$this->version} does't have section {$section}");
99 99
         }
100 100
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     private function getOptionName(eSection $section, string $optionName) : eOption
116 116
     {
117
-        $enumClassName = "LTDBeget\\sphinx\\enums\\options\\e".ucfirst( (string) $section). 'Option';
117
+        $enumClassName = "LTDBeget\\sphinx\\enums\\options\\e" . ucfirst((string) $section) . 'Option';
118 118
         /**
119 119
          * @var eOption $enumClassName
120 120
          */
Please login to merge, or discard this patch.