Test Failed
Pull Request — master (#805)
by Maxim
06:32
created
src/Validation/src/Bootloader/ValidationBootloader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     public function __construct(
28 28
         private readonly ConfiguratorInterface $config
29
-    ) {
29
+    ){
30 30
     }
31 31
 
32 32
     public function init(): void
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function setDefaultValidator(string $name): void
43 43
     {
44
-        if ($this->config->getConfig(ValidationConfig::CONFIG)['defaultValidator'] === null) {
44
+        if ($this->config->getConfig(ValidationConfig::CONFIG)['defaultValidator'] === null){
45 45
             $this->config->modify(ValidationConfig::CONFIG, new Set('defaultValidator', $name));
46 46
         }
47 47
     }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         ValidationConfig $config,
54 54
         ValidationProviderInterface $provider
55 55
     ): ValidationInterface {
56
-        if ($config->getDefaultValidator() === null) {
56
+        if ($config->getDefaultValidator() === null){
57 57
             throw new ValidationException('Default Validator is not configured.');
58 58
         }
59 59
 
Please login to merge, or discard this patch.