Skip to content

Commit b029d7d

Browse files
Cleaned up comments
1 parent e30ed08 commit b029d7d

4 files changed

Lines changed: 3 additions & 13 deletions

File tree

src/Check/Result/Collection/ResultCollectionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use de\codenamephp\deploymentchecks\base\Check\Result\ResultInterface;
2121

2222
/**
23-
* A collection of results. Can be used to aggregate results from multiple checks, e.g. run multiple http checks and treat them as a group
23+
* Interface for collection of results. Can be used to aggregate results from multiple checks, e.g. run multiple http checks and treat them as a group
2424
*
2525
* @psalm-api
2626
*/

src/Check/Result/WasSuccessful.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
*
2323
* @psalm-api
2424
*/
25-
final class WasSuccessful implements ResultInterface {
25+
final readonly class WasSuccessful implements ResultInterface {
2626

27-
public function __construct(public readonly bool $successful) {}
27+
public function __construct(public bool $successful) {}
2828

2929
public function successful() : bool {
3030
return $this->successful;

src/Check/Result/WithNameInterface.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,5 @@
2525
*/
2626
interface WithNameInterface {
2727

28-
/**
29-
* Returns the name of the result
30-
*
31-
* @return string
32-
*/
3328
public function name() : string;
3429
}

src/Check/WithNameInterface.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,5 @@
2424
*/
2525
interface WithNameInterface {
2626

27-
/**
28-
* Returns the name of the check
29-
*
30-
* @return string
31-
*/
3227
public function name() : string;
3328
}

0 commit comments

Comments
 (0)