Issues (2884)

src/App/Config/ConfigListenerInterface.php (1 issue)

Checks function spacing before first

Coding Style Informational
1
<?php
2
3
/**
4
 * ConfigListenerInterface.php
5
 *
6
 * Listener interface for config changes.
7
 *
8
 * @package jaxon-core
9
 * @author Thierry Feuzeu <[email protected]>
10
 * @copyright 2022 Thierry Feuzeu <[email protected]>
11
 * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
12
 * @link https://github.com/jaxon-php/jaxon-core
13
 */
14
15
namespace Jaxon\App\Config;
16
17
use Jaxon\Utils\Config\Config;
18
19
interface ConfigListenerInterface
20
{
21
    /**
22
     * Config option changed, in case of multiple changes, the name is an empty string
23
     *
24
     * @param Config $xConfig
25
     * @param string $sName The option name
26
     *
27
     * @return void
28
     */
29
    public function onChange(Config $xConfig, string $sName);
0 ignored issues
show
Expected 2 blank lines before function; 0 found
Loading history...
30
}
31