Issues (1519)

system/Inji/Router/Path.php (1 issue)

1
<?php
2
3
namespace Inji\Router;
4
5
6
class Path {
7
    public $path, $moduleName;
0 ignored issues
show
It is generally advisable to only define one property per statement.

Only declaring a single property per statement allows you to later on add doc comments more easily.

It is also recommended by PSR2, so it is a common style that many people expect.

Loading history...
8
9 2
    public function __construct($path, $moduleName = '') {
10 2
        $this->path = $path;
11 2
        $this->moduleName = $moduleName;
12
    }
13
}