for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Lagdo\UiBuilder\Component\Base;
use Lagdo\UiBuilder\Component\HtmlComponent;
class TabNavItemComponent extends HtmlComponent
{
/**
* @var string
*/
public static string $tag = '';
* @param string $target
*
* @return static
public function target(string $target): static
$target
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function target(/** @scrutinizer ignore-unused */ string $target): static
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
return $this;
}
* @param bool $active
public function active(bool $active = false): static
$active
public function active(/** @scrutinizer ignore-unused */ bool $active = false): static
* @param bool $enabled
public function enabled(bool $enabled): static
$enabled
public function enabled(/** @scrutinizer ignore-unused */ bool $enabled): static
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.