Issues (174)

bootstrap3/views/Frontend/modules/header.php (1 issue)

Labels
Severity
1
<?php
2
$headerUrl = isset($headerUrl) ? $headerUrl : '';
3
$logoPath = isset($logoPath) ? $logoPath : '/images/logo-white-full.png';
4
?>
5
<div id="header" class="header">
6
    <h1 id="logo">
7
        <a href="<?php echo $headerUrl; ?>" title="<?php echo config('app.name') ?>">
0 ignored issues
show
Are you sure config('app.name') of type Nip\Config\Config|mixed can be used in echo? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

7
        <a href="<?php echo $headerUrl; ?>" title="<?php echo /** @scrutinizer ignore-type */ config('app.name') ?>">
Loading history...
8
            <img src="<?php echo asset($logoPath) ?>"
9
                 class="img-responsive"
10
                 alt="<?php echo config('app.name') ?>"/>
11
        </a>
12
    </h1>
13
    <h1 class="title"><?php echo $this->headerTitle; ?></h1>
14
</div>