php-codesniffer/tests/DigiComp/Sniffs/Commenting/data/comments.php
Ferdinand Kuhl 2478c0f3ff
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Do not crash if comment is missing completely
2022-05-17 13:44:01 +02:00

26 lines
272 B
PHP

<?php
class A {
/**
* @var string
*/
protected $var;
}
class B extends A {
/**
* @inheritDoc
*/
protected $var;
}
class C extends A {
/**
* No inherit
*/
protected $var;
}
class D extends a {
protected $var;
}