Searched refs:typehint (Results 1 – 2 of 2) sorted by relevance
| /dokuwiki/inc/Remote/OpenApiDoc/ |
| H A D | Type.php | 7 protected $typehint; variable in dokuwiki\\Remote\\OpenApiDoc\\Type 11 * @param string $typehint The typehint as read from the docblock 14 public function __construct($typehint, $context = '') argument 16 $this->typehint = $typehint; 27 return $this->typehint; 39 $typehint = $this->typehint; 41 if (str_ends_with($typehint, '[]')) { 45 if (in_array($typehint, ['boolean', 'false', 'true'])) { 49 if (in_array($typehint, ['integer', 'date'])) { 53 if ($typehint === 'file') { [all …]
|
| /dokuwiki/_test/tests/Remote/OpenApiDoc/ |
| H A D | TypeTest.php | 53 …public function testJSONBaseTypes($typehint, $expectedJSONRPCType, $expectedXMLRPCType, $context =… argument 55 $type = new Type($typehint, $context); 67 …public function testXMLBaseTypes($typehint, $expectedJSONRPCType, $expectedXMLRPCType, $context = … argument 69 $type = new Type($typehint, $context); 92 public function testSubType($typehint, $expected, $context = '') argument 94 $type = new Type($typehint, $context);
|