Skip to content

Commit 74391ba

Browse files
committed
Fix codestyle
1 parent cdf1773 commit 74391ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/IntegralSolver.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public function process(string $query, ?string $differential = null): IntegralRe
5252
{
5353
$tokens = $this->tokenizer->tokensToObject(
5454
$this->tokenizer->tokenize(
55-
$this->queryNormalizer->normalize($query)
56-
)
55+
$this->queryNormalizer->normalize($query),
56+
),
5757
);
5858

5959
return $this->processByTokens($tokens, $differential);
@@ -73,7 +73,7 @@ public function processByTokens(array $tokens, ?string $differential = null): In
7373
$tokens,
7474
$this->tokenizer->tokensToLatex($tokens),
7575
$differential,
76-
\count($explode['parts']) === 1
76+
\count($explode['parts']) === 1,
7777
);
7878

7979
$result->addStep(new Step('Vezměte integrál', $result->getQueryLaTeX()));
@@ -96,7 +96,7 @@ public function processByTokens(array $tokens, ?string $differential = null): In
9696
$result->addStep(new Step(
9797
'Rozdělte integrál na části',
9898
'= ' . $stepParts,
99-
'Základní věta algebry říká, že lze součet integrálů rozdělit na skupinu menších problémů a ty řešit samostatně.'
99+
'Základní věta algebry říká, že lze součet integrálů rozdělit na skupinu menších problémů a ty řešit samostatně.',
100100
));
101101
}
102102

@@ -171,7 +171,7 @@ private function resolveDifferential(array $tokens, ?string $preferenceDifferent
171171
{
172172
static $variables = [];
173173
$variables = $level === 0 ? [] : $variables;
174-
$preferenceDifferential = $preferenceDifferential ?? 'x';
174+
$preferenceDifferential ??= 'x';
175175

176176
foreach ($tokens as $token) {
177177
if ($token instanceof VariableToken) {

0 commit comments

Comments
 (0)