1 | <?php |
||
2 | |||
3 | namespace Pratiksh\Adminetic\View\Components; |
||
4 | |||
5 | use Adminetic; |
||
0 ignored issues
–
show
|
|||
6 | use Illuminate\View\Component; |
||
7 | |||
8 | class Sidebar extends Component |
||
9 | { |
||
10 | /** |
||
11 | * Get the view / contents that represent the component. |
||
12 | * |
||
13 | * @return \Illuminate\Contracts\View\View|\Closure|string |
||
14 | */ |
||
15 | public function render() |
||
16 | { |
||
17 | $menus = Adminetic::menus() ?? []; |
||
18 | |||
19 | return view('adminetic::components.sidebar', compact('menus')); |
||
20 | } |
||
21 | } |
||
22 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths