Skip to content

Commit 6a0932a

Browse files
committed
Fix incorrect getFiles type hinting. Update docblock
1 parent 166bf91 commit 6a0932a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Updater.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ protected function getDirectory($path)
8080
* Get list of files in directory
8181
*
8282
* @param string $directory
83-
* @return void
83+
* @param string\null $model
84+
* @return array
8485
*/
85-
protected function getFiles(string $directory, string $model)
86+
protected function getFiles(string $directory, $model)
8687
{
8788
if($model) {
8889
return $directory . '/' . $model . '.json';

0 commit comments

Comments
 (0)