We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0e8dec commit 0d4c56bCopy full SHA for 0d4c56b
src/CodeVisitor.php
@@ -252,6 +252,11 @@ public function enterNode(Node $node)
252
*/
253
private function extractAnnotations(string $docString)
254
{
255
+ // PHP doesn't have decorators like Python, so returning an empty array
256
+ return [];
257
+
258
+ // Original implementation commented out below
259
+ /*
260
$annotations = [];
261
262
// Match annotations in the format @annotationName or @annotationName(params)
@@ -262,6 +267,7 @@ private function extractAnnotations(string $docString)
267
}
263
268
264
269
return $annotations;
270
+ */
265
271
266
272
273
/**
0 commit comments