| 1 | <?php |
||
| 3 | class DNReference extends ViewableData { |
||
| 4 | |||
| 5 | /** |
||
| 6 | * @var Gitonomy\Git\Reference |
||
| 7 | */ |
||
| 8 | protected $reference; |
||
| 9 | |||
| 10 | private static $casting = array( |
||
|
|
|||
| 11 | 'Name' => 'Text', |
||
| 12 | 'FullName' => 'Text', |
||
| 13 | 'Filename' => 'Text' |
||
| 14 | ); |
||
| 15 | |||
| 16 | public function __construct(Gitonomy\Git\Reference $reference) { |
||
| 19 | |||
| 20 | public function Name() { |
||
| 23 | |||
| 24 | public function FullName() { |
||
| 27 | |||
| 28 | public function Filename() { |
||
| 31 | |||
| 32 | } |
||
| 33 |
This check marks private properties in classes that are never used. Those properties can be removed.