This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
7
8
/**
9
* Options.
10
*
11
* @var array
12
*/
13
protected $options = [];
14
15
/**
16
* Public constructor.
17
*
18
* @param array $parameters
19
*/
20
public function __construct(array $parameters = [])
The method withOptions() does not seem to exist on object<Illuminate\Contracts\View\View>.
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.
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.