Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 898f2c3

Browse files
authored
Merge pull request #45 from voku/analysis-dj2339
Apply fixes from StyleCI
2 parents 73766c7 + b42b7aa commit 898f2c3

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

‎src/voku/SimplePhpParser/Model/PHPParameter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,6 @@ private function readPhpDoc($doc, string $parameterName): void
286286
$this->typeFromPhpDocExtended = Utils::modernPhpdoc($parsedParamTagStr);
287287
}
288288
}
289-
290289
} catch (\Exception $e) {
291290
$tmpErrorMessage = $this->name . ':' . ($this->line ?? '?') . ' | ' . \print_r($e->getMessage(), true);
292291
$this->parseError[\md5($tmpErrorMessage)] = $tmpErrorMessage;

‎src/voku/SimplePhpParser/Model/PHPProperty.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ private function readPhpDoc($doc): void
277277
$this->typeFromPhpDocExtended = Utils::modernPhpdoc($parsedParamTagStr);
278278
}
279279
}
280-
281280
} catch (\Exception $e) {
282281
$tmpErrorMessage = $this->name . ':' . ($this->line ?? '?') . ' | ' . \print_r($e->getMessage(), true);
283282
$this->parseError[\md5($tmpErrorMessage)] = $tmpErrorMessage;

‎tests/Dummy13.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @internal
99
*/
10-
readonlyfinal class Dummy13 implements \voku\tests\DummyInterface
10+
finalreadonly class Dummy13 implements \voku\tests\DummyInterface
1111
{
1212
/**
1313
* @var callable(int): string
@@ -22,8 +22,11 @@ public function __construct(int $lall)
2222
/**
2323
* @return callable(): int<0,1>
2424
*/
25-
public function callableTest(): callable {
26-
return static function() { return 1; };
25+
public function callableTest(): callable
26+
{
27+
return static function () {
28+
return 1;
29+
};
2730
}
2831

2932
/**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /