for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Hyde\Framework\Views\Components;
use Hyde\Hyde;
use Illuminate\Support\Facades\View;
use Illuminate\Contracts\View\View as ViewContract;
use Illuminate\View\Component;
class LinkComponent extends Component
{
public readonly string $href;
public function __construct(string $href)
$this->href = Hyde::relativeLink($href);
href
Hyde\Framework\Views\Components\LinkComponent
relativeLink()
Hyde\Hyde
__callStatic
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
/** @scrutinizer ignore-call */
}
/** @interitDoc */
public function render(): ViewContract
return View::make('hyde::components.link');