We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AbstractAnnotation::$_context
1 parent c8b6d48 commit 60264a9Copy full SHA for 60264a9
2 files changed
src/Annotations/AbstractAnnotation.php
@@ -36,7 +36,7 @@ abstract class AbstractAnnotation implements \JsonSerializable
36
public $attachables = Generator::UNDEFINED;
37
38
/**
39
- * @var Context|null
+ * @var Context
40
*/
41
public $_context;
42
src/Processors/Concerns/DocblockTrait.php
@@ -17,10 +17,6 @@ trait DocblockTrait
17
18
public function isDocblockRoot(OA\AbstractAnnotation $annotation): bool
19
{
20
- if (!$annotation->_context) {
21
- return true;
22
- }
23
-
24
if (1 == count($annotation->_context->annotations)) {
25
return true;
26
}
0 commit comments