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 PaginationItemComponent extends HtmlComponent
{
/**
* @var string
*/
public static string $tag = 'a';
* @param bool $active
*
* @return static
public function active(bool $active): static
$active
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function active(/** @scrutinizer ignore-unused */ bool $active): 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 $enabled
public function enabled(bool $enabled): static
$enabled
public function enabled(/** @scrutinizer ignore-unused */ bool $enabled): static
* @param int $number
public function number(int $number): static
$number
public function number(/** @scrutinizer ignore-unused */ int $number): static
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.