Skip to content

Commit a0a2d7e

Browse files
committed
wip
1 parent 090e3cc commit a0a2d7e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-
2-
location: { column: 0, endLine: 16, startLine: 3 }
3-
node: { properties: [{ default: { value: 1, location: { column: 0, endLine: 5, startLine: 5 } }, isStatic: false, name: id, location: { column: 0, endLine: 5, startLine: 5 }, visibility: public }], methods: [{ returnType: string, isStatic: false, isAbstract: false, params: { }, name: getData, location: { column: 0, endLine: 10, startLine: 7 }, visibility: public }, { returnType: array, isStatic: false, isAbstract: false, params: [{ type: string, default: null, location: { column: 0, endLine: 12, startLine: 12 }, name: endpoint }, { type: int, default: { value: 1, location: { column: 0, endLine: 12, startLine: 12 } }, location: { column: 0, endLine: 12, startLine: 12 }, name: count }], name: callExternalApi, location: { column: 0, endLine: 15, startLine: 12 }, visibility: protected }], implements: { }, extends: null, name: MyClass1, location: { column: 0, endLine: 16, startLine: 3 } }
2+
location: { column: 0, endLine: 18, startLine: 3 }
3+
node: { properties: [{ default: { value: 1, location: { column: 0, endLine: 5, startLine: 5 } }, isStatic: false, name: id, location: { column: 0, endLine: 5, startLine: 5 }, visibility: public }], methods: [{ returnType: string, isStatic: false, isAbstract: false, params: { }, name: getData, location: { column: 0, endLine: 12, startLine: 9 }, visibility: public }, { returnType: array, isStatic: false, isAbstract: false, params: [{ type: string, default: null, location: { column: 0, endLine: 14, startLine: 14 }, name: endpoint }, { type: int, default: { value: 1, location: { column: 0, endLine: 14, startLine: 14 } }, location: { column: 0, endLine: 14, startLine: 14 }, name: count }], name: callExternalApi, location: { column: 0, endLine: 17, startLine: 14 }, visibility: protected }], implements: { }, extends: null, constants: [{ location: { column: 0, endLine: 7, startLine: 7 }, name: TEST_CONST_ONE, value: { value: abc, location: { column: 0, endLine: 7, startLine: 7 } }, visibility: public }], name: MyClass1, location: { column: 0, endLine: 18, startLine: 3 } }
44
snippet: null

tests/data/file3.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ class MyClass1
44
{
55
public $id = 1;
66

7+
public const TEST_CONST_ONE = 'abc';
8+
79
public function getData(): string
810
{
911
return 'test';

0 commit comments

Comments
 (0)