Completed
Push — master ( bb00ac...e3b5b4 )
by Kirill
330:24 queued 149:31
created
src/Console/SDLGrammarCompileCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * @var string
23 23
      */
24
-    private const SCHEMA_SDL_GRAMMAR = __DIR__ . '/../../resources/sdl/grammar.pp2';
24
+    private const SCHEMA_SDL_GRAMMAR = __DIR__.'/../../resources/sdl/grammar.pp2';
25 25
 
26 26
     /**
27 27
      * @var string
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         Compiler::load(File::fromPathname(self::SCHEMA_SDL_GRAMMAR))
44 44
             ->setClassName('Parser')
45 45
             ->setNamespace('Railt\\SDL\\Frontend')
46
-            ->saveTo(__DIR__ . '/../Frontend');
46
+            ->saveTo(__DIR__.'/../Frontend');
47 47
 
48 48
         $this->info('OK');
49 49
     }
Please login to merge, or discard this patch.
src/Frontend/AST/Invocation/NumberValueNode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
                 return $this->parseInt($value->getValue());
53 53
         }
54 54
 
55
-        return (float)$value->getValue();
55
+        return (float) $value->getValue();
56 56
     }
57 57
 
58 58
     /**
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     private function parseExponential(string $value): float
81 81
     {
82
-        return (float)$value;
82
+        return (float) $value;
83 83
     }
84 84
 
85 85
     /**
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     private function parseFloat(string $value): float
90 90
     {
91
-        return (float)$value;
91
+        return (float) $value;
92 92
     }
93 93
 
94 94
     /**
Please login to merge, or discard this patch.
src/Frontend/Builder/Extension/InputExtensionBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * @param Readable $file
25 25
      * @param RuleInterface $ast
26
-     * @return \Generator|mixed|Definition
26
+     * @return \Generator
27 27
      */
28 28
     public function build(Readable $file, RuleInterface $ast)
29 29
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Extension/InterfaceExtensionBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * @param Readable $file
25 25
      * @param RuleInterface $ast
26
-     * @return \Generator|mixed|Definition
26
+     * @return \Generator
27 27
      */
28 28
     public function build(Readable $file, RuleInterface $ast)
29 29
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Extension/ObjectExtensionBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * @param Readable $file
25 25
      * @param RuleInterface $ast
26
-     * @return \Generator|mixed|Definition
26
+     * @return \Generator
27 27
      */
28 28
     public function build(Readable $file, RuleInterface $ast)
29 29
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Extension/ScalarExtensionBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * @param Readable $file
25 25
      * @param RuleInterface $ast
26
-     * @return \Generator|mixed|Definition
26
+     * @return \Generator
27 27
      */
28 28
     public function build(Readable $file, RuleInterface $ast)
29 29
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Extension/SchemaExtensionBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * @param Readable $file
25 25
      * @param RuleInterface $ast
26
-     * @return \Generator|mixed|Definition
26
+     * @return \Generator
27 27
      */
28 28
     public function build(Readable $file, RuleInterface $ast)
29 29
     {
Please login to merge, or discard this patch.