@@ -21,7 +21,7 @@ discard block |
||
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 |
||
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 | } |
@@ -52,7 +52,7 @@ discard block |
||
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 |
||
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 |
||
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 | /** |
@@ -23,7 +23,7 @@ |
||
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 | { |
@@ -23,7 +23,7 @@ |
||
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 | { |
@@ -23,7 +23,7 @@ |
||
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 | { |
@@ -23,7 +23,7 @@ |
||
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 | { |
@@ -23,7 +23,7 @@ |
||
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 | { |