Skip to content

Commit cd7b144

Browse files
[Conductor] Update phpstan/phpstan to 2.1.12 (#1529)
1 parent 43ba639 commit cd7b144

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Entity/SecurityAdvisory.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,6 @@ private function copyAdvisory(RemoteSecurityAdvisory $advisory, bool $initialCop
147147

148148
public function getPackagistAdvisoryId(): string
149149
{
150-
if (!isset($this->packagistAdvisoryId)) {
151-
$this->assignPackagistAdvisoryId();
152-
}
153-
154150
return $this->packagistAdvisoryId;
155151
}
156152

@@ -249,11 +245,6 @@ public function calculateDifferenceScore(RemoteSecurityAdvisory $advisory): int
249245
return $score;
250246
}
251247

252-
public function hasPackagistAdvisoryId(): bool
253-
{
254-
return (bool) $this->packagistAdvisoryId;
255-
}
256-
257248
private function assignPackagistAdvisoryId(): void
258249
{
259250
$this->packagistAdvisoryId = AdvisoryIdGenerator::generate();

0 commit comments

Comments
 (0)