Skip to content

Commit c0d32f1

Browse files
committed
Decouple Dist from Source object.
All shared properties were overwritten anyway and the inheritance didn't really make sense
1 parent 82a7266 commit c0d32f1

File tree

1 file changed

+3
-1
lines changed
  • src/Packagist/Api/Result/Package

1 file changed

+3
-1
lines changed

src/Packagist/Api/Result/Package/Dist.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
namespace Packagist\Api\Result\Package;
66

7-
class Dist extends Source
7+
use Packagist\Api\Result\AbstractResult;
8+
9+
class Dist extends AbstractResult
810
{
911
protected string $shasum;
1012

0 commit comments

Comments
 (0)