| 1 | <?php |
||
| 9 | class Application |
||
| 10 | {
|
||
| 11 | private $registry; |
||
|
|
|||
| 12 | |||
| 13 | /** |
||
| 14 | * There be nay feckin wi' constructors on board this ship |
||
| 15 | * There be nay copyin' o' th'ship either |
||
| 16 | * This ship is a singleton! |
||
| 17 | */ |
||
| 18 | public function __construct(){}
|
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * Ahoy! There nay be boardin without yer configuration |
||
| 24 | * |
||
| 25 | * @param array $config |
||
| 26 | * @return Application |
||
| 27 | */ |
||
| 28 | 2 | public static function ahoy(array $config) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * T' the high seas! Garrr! |
||
| 45 | */ |
||
| 46 | 1 | public function setSail() |
|
| 53 | } |
This check marks private properties in classes that are never used. Those properties can be removed.