Skip to content

Commit 4994236

Browse files
committed
Annotations and return types for compare
1 parent 6355e35 commit 4994236

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Resource/Repository/Compare.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ abstract class Compare extends AbstractResource implements CompareInterface
6161
protected $commits;
6262

6363
/**
64-
* @var Repository\Commit\File
64+
* @var Commit\File[]
6565
*/
6666
protected $files;
6767

@@ -130,9 +130,9 @@ public function commits(): Repository\Commit
130130
}
131131

132132
/**
133-
* @return Repository\Commit\File
133+
* @return Commit\File[]
134134
*/
135-
public function files(): Repository\Commit\File
135+
public function files(): array
136136
{
137137
return $this->files;
138138
}

0 commit comments

Comments
 (0)