Issues (3)

src/views/layouts/_content.php (1 issue)

Labels
Severity
1
<?php if (Yii::$app->themeManager->isHomePage()) : ?>
0 ignored issues
show
The method isHomePage() does not exist on null. ( Ignorable by Annotation )

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

1
<?php if (Yii::$app->themeManager->/** @scrutinizer ignore-call */ isHomePage()) : ?>

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.

Loading history...
2
    <header>
3
        <?= $this->render('//layouts/_splash') ?>
4
    </header>
5
    <?= $content ?>
6
<?php else: ?>
7
    <section>
8
        <div class="container">
9
            <div class="row">
10
                <div class="col-lg-12">
11
                    <?= $content ?>
12
                </div>
13
            </div>
14
        </div>
15
    </section>
16
<?php endif ?>
17