mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-01-26 11:44:11 +00:00
Fix incorrect getFiles type hinting. Update docblock
This commit is contained in:
@@ -80,9 +80,10 @@ class Updater
|
||||
* Get list of files in directory
|
||||
*
|
||||
* @param string $directory
|
||||
* @return void
|
||||
* @param string\null $model
|
||||
* @return array
|
||||
*/
|
||||
protected function getFiles(string $directory, string $model)
|
||||
protected function getFiles(string $directory, $model)
|
||||
{
|
||||
if($model) {
|
||||
return $directory . '/' . $model . '.json';
|
||||
|
||||
Reference in New Issue
Block a user