mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-02-14 17:53:13 +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
|
* Get list of files in directory
|
||||||
*
|
*
|
||||||
* @param string $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) {
|
if($model) {
|
||||||
return $directory . '/' . $model . '.json';
|
return $directory . '/' . $model . '.json';
|
||||||
|
|||||||
Reference in New Issue
Block a user