The method loadFiles() does not exist on LaravelModulize\Services\Loaders\BaseFileLoader. Since it exists in all sub-types, consider adding an abstract or default implementation to LaravelModulize\Services\Loaders\BaseFileLoader.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
45
$this->/** @scrutinizer ignore-call */
46
loadFiles($module);
Loading history...
46
});
47
}
48
49
/**
50
* Retrieve the collection of files found for the given module
51
*
52
* @param string $module
53
* @return \Illuminate\Support\Collection
54
*/
55
public function getFilesToLoad(string $module): Collection
56
{
57
if (!$this->repo->filesExist($this->getFilesPath($module))) {
The method getFilesPath() does not exist on LaravelModulize\Services\Loaders\BaseFileLoader. Did you maybe mean getFilesToLoad()?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
57
if (!$this->repo->filesExist($this->/** @scrutinizer ignore-call */ getFilesPath($module))) {
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
The method filesExist() does not exist on LaravelModulize\Contract...izerRepositoryInterface. Since it exists in all sub-types, consider adding an abstract or default implementation to LaravelModulize\Contract...izerRepositoryInterface.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
57
if (!$this->repo->/** @scrutinizer ignore-call */ filesExist($this->getFilesPath($module))) {