Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 285 Bytes

OverriddenFinalConstant.md

File metadata and controls

19 lines (15 loc) · 285 Bytes

OverriddenFinalConstant

Emitted when a constant declared as final is overridden in a child class or interface.

<?php

class Foo
{
    /** @var string */
    final public const BAR='baz';
}

class Bar extends Foo
{
    /** @var string */
    public const BAR='foobar';
}