From c6f5881d8b1b4b8572268c8c8806e66650410057 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 26 Nov 2021 13:53:59 +0100 Subject: cleanup --- REFLECTION | 400 +++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 269 insertions(+), 131 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 34e0890..6237c3e 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #117 handlebars version 0.9.2 ] { +Extension [ extension #108 handlebars version 0.9.2 ] { - Dependencies { Dependency [ psr (Optional) ] @@ -68,29 +68,29 @@ Extension [ extension #117 handlebars version 0.9.2 ] { Method [ abstract public method offsetExists ] { - Parameters [1] { - Parameter #0 [ $offset ] + Parameter #0 [ mixed $offset ] } } Method [ abstract public method offsetGet ] { - Parameters [1] { - Parameter #0 [ $offset ] + Parameter #0 [ mixed $offset ] } } Method [ abstract public method offsetSet ] { - Parameters [2] { - Parameter #0 [ $offset ] - Parameter #1 [ $value ] + Parameter #0 [ mixed $offset ] + Parameter #1 [ mixed $value ] } } Method [ abstract public method offsetUnset ] { - Parameters [1] { - Parameter #0 [ $offset ] + Parameter #0 [ mixed $offset ] } } } @@ -116,45 +116,45 @@ Extension [ extension #117 handlebars version 0.9.2 ] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $input ] - Parameter #1 [ $flags ] - Parameter #2 [ $iterator_class ] + Parameter #0 [ object|array $array = [] ] + Parameter #1 [ int $flags = 0 ] + Parameter #2 [ string $iteratorClass = ArrayIterator::class ] } } Method [ public method offsetExists ] { - Parameters [1] { - Parameter #0 [ $index ] + Parameter #0 [ mixed $key ] } } Method [ public method offsetGet ] { - Parameters [1] { - Parameter #0 [ $index ] + Parameter #0 [ mixed $key ] } } Method [ public method offsetSet ] { - Parameters [2] { - Parameter #0 [ $index ] - Parameter #1 [ $newval ] + Parameter #0 [ mixed $key ] + Parameter #1 [ mixed $value ] } } Method [ public method offsetUnset ] { - Parameters [1] { - Parameter #0 [ $index ] + Parameter #0 [ mixed $key ] } } Method [ public method append ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ mixed $value ] } } @@ -179,33 +179,35 @@ Extension [ extension #117 handlebars version 0.9.2 ] { Method [ public method setFlags ] { - Parameters [1] { - Parameter #0 [ $flags ] + Parameter #0 [ int $flags ] } } Method [ public method asort ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $flags = SORT_REGULAR ] } } Method [ public method ksort ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $flags = SORT_REGULAR ] } } Method [ public method uasort ] { - Parameters [1] { - Parameter #0 [ $cmp_function ] + Parameter #0 [ callable $callback ] } } Method [ public method uksort ] { - Parameters [1] { - Parameter #0 [ $cmp_function ] + Parameter #0 [ callable $callback ] } } @@ -224,7 +226,7 @@ Extension [ extension #117 handlebars version 0.9.2 ] { Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ $serialized ] + Parameter #0 [ string $data ] } } @@ -234,22 +236,16 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } } - Method [ public method __unserialize ] { - - - Parameters [1] { - Parameter #0 [ $serialized ] - } - } - Method [ public method __serialize ] { - Parameters [0] { } } - Method [ public method __debugInfo ] { + Method [ public method __unserialize ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $data ] } } @@ -262,14 +258,14 @@ Extension [ extension #117 handlebars version 0.9.2 ] { Method [ public method exchangeArray ] { - Parameters [1] { - Parameter #0 [ $input ] + Parameter #0 [ object|array $array ] } } Method [ public method setIteratorClass ] { - Parameters [1] { - Parameter #0 [ $iteratorClass ] + Parameter #0 [ string $iteratorClass ] } } @@ -278,6 +274,12 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [0] { } } + + Method [ public method __debugInfo ] { + + - Parameters [0] { + } + } } } @@ -300,28 +302,28 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [0] { } - - Return [ Handlebars\Registry or NULL ] + - Return [ ?Handlebars\Registry ] } Method [ abstract public method getPartials ] { - Parameters [0] { } - - Return [ Handlebars\Registry or NULL ] + - Return [ ?Handlebars\Registry ] } Method [ abstract public method getDecorators ] { - Parameters [0] { } - - Return [ Handlebars\Registry or NULL ] + - Return [ ?Handlebars\Registry ] } Method [ abstract public method getLogger ] { - Parameters [0] { } - - Return [ Psr\Logger\LoggerInterface or NULL ] + - Return [ ?Psr\Logger\LoggerInterface ] } Method [ abstract public method setHelpers ] { @@ -360,8 +362,8 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [3] { Parameter #0 [ string $tmpl ] - Parameter #1 [ $context ] - Parameter #2 [ array or NULL $options ] + Parameter #1 [ $context = ] + Parameter #2 [ ?array $options = ] } - Return [ string ] } @@ -370,8 +372,8 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [3] { Parameter #0 [ string $filename ] - Parameter #1 [ $context ] - Parameter #2 [ array or NULL $options ] + Parameter #1 [ $context = ] + Parameter #2 [ ?array $options = ] } - Return [ string ] } @@ -390,10 +392,10 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [4] { - Property [ protected $logger ] - Property [ protected $decorators ] - Property [ protected $helpers ] - Property [ protected $partials ] + Property [ protected ?Psr\Log\LoggerInterface $logger ] + Property [ protected ?Handlebars\Registry $decorators ] + Property [ protected ?Handlebars\Registry $helpers ] + Property [ protected ?Handlebars\Registry $partials ] } - Methods [10] { @@ -401,28 +403,28 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [0] { } - - Return [ Handlebars\Registry or NULL ] + - Return [ ?Handlebars\Registry ] } Method [ public method getPartials ] { - Parameters [0] { } - - Return [ Handlebars\Registry or NULL ] + - Return [ ?Handlebars\Registry ] } Method [ public method getDecorators ] { - Parameters [0] { } - - Return [ Handlebars\Registry or NULL ] + - Return [ ?Handlebars\Registry ] } Method [ public method getLogger ] { - Parameters [0] { } - - Return [ Psr\Logger\LoggerInterface or NULL ] + - Return [ ?Psr\Logger\LoggerInterface ] } Method [ public method setHelpers ] { @@ -461,8 +463,8 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [3] { Parameter #0 [ string $tmpl ] - Parameter #1 [ $context ] - Parameter #2 [ array or NULL $options ] + Parameter #1 [ $context = ] + Parameter #2 [ ?array $options = ] } - Return [ string ] } @@ -471,8 +473,8 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [3] { Parameter #0 [ string $filename ] - Parameter #1 [ $context ] - Parameter #2 [ array or NULL $options ] + Parameter #1 [ $context = ] + Parameter #2 [ ?array $options = ] } - Return [ string ] } @@ -511,7 +513,7 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [2] { Parameter #0 [ string $tmpl ] - Parameter #1 [ array or NULL $options ] + Parameter #1 [ ?array $options = ] } - Return [ array ] } @@ -520,7 +522,7 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [2] { Parameter #0 [ string $tmpl ] - Parameter #1 [ array or NULL $options ] + Parameter #1 [ ?array $options = ] } - Return [ string ] } @@ -551,7 +553,7 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } } - Class [ class Handlebars\CompileException extends Exception implements Throwable, Handlebars\Exception ] { + Class [ class Handlebars\CompileException extends Exception implements Stringable, Throwable, Handlebars\Exception ] { - Constants [0] { } @@ -563,52 +565,86 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class Handlebars\InvalidArgumentException extends RuntimeException implements Throwable, Handlebars\Exception ] { + Class [ class Handlebars\InvalidArgumentException extends RuntimeException implements Throwable, Stringable, Handlebars\Exception ] { - Constants [0] { } @@ -620,52 +656,86 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class Handlebars\RuntimeException extends RuntimeException implements Throwable, Handlebars\Exception ] { + Class [ class Handlebars\RuntimeException extends RuntimeException implements Throwable, Stringable, Handlebars\Exception ] { - Constants [0] { } @@ -677,52 +747,86 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class Handlebars\InvalidBinaryStringException extends Exception implements Throwable, Handlebars\Exception ] { + Class [ class Handlebars\InvalidBinaryStringException extends Exception implements Stringable, Throwable, Handlebars\Exception ] { - Constants [0] { } @@ -734,47 +838,81 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } @@ -791,8 +929,8 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [2] { - Property [ public $opcode ] - Property [ public $args ] + Property [ public string $opcode ] + Property [ public array $args ] } - Methods [1] { @@ -818,21 +956,21 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [8] { - Property [ public $ids ] - Property [ public $hashIds ] - Property [ public $hashTypes ] - Property [ public $hashContexts ] - Property [ public $types ] - Property [ public $contexts ] - Property [ public $args ] - Property [ public $partial ] + Property [ public $ids = NULL ] + Property [ public $hashIds = NULL ] + Property [ public $hashTypes = NULL ] + Property [ public $hashContexts = NULL ] + Property [ public $types = NULL ] + Property [ public $contexts = NULL ] + Property [ public $args = NULL ] + Property [ public $partial = NULL ] } - Methods [7] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ array or NULL $props ] + Parameter #0 [ ?array $props ] } } @@ -924,16 +1062,16 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [10] { - Property [ public $opcodes ] - Property [ public $children ] - Property [ public $decorators ] - Property [ public $isSimple ] - Property [ public $useDepths ] - Property [ public $usePartial ] - Property [ public $useDecorators ] - Property [ public $blockParams ] - Property [ public $stringParams ] - Property [ public $trackIds ] + Property [ public $opcodes = NULL ] + Property [ public $children = NULL ] + Property [ public $decorators = NULL ] + Property [ public $isSimple = false ] + Property [ public $useDepths = false ] + Property [ public $usePartial = false ] + Property [ public $useDecorators = false ] + Property [ public $blockParams = 0 ] + Property [ public $stringParams = false ] + Property [ public $trackIds = false ] } - Methods [1] { @@ -942,7 +1080,7 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [3] { Parameter #0 [ array $opcodes ] Parameter #1 [ array $children ] - Parameter #2 [ int $blockParams ] + Parameter #2 [ int $blockParams = ] } } } @@ -960,7 +1098,7 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [1] { - Property [ protected $value ] + Property [ protected string $value ] } - Methods [2] { @@ -992,8 +1130,8 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [2] { - Property [ public $name ] - Property [ public $text ] + Property [ public string $name ] + Property [ public string $text ] } - Methods [1] { @@ -1142,17 +1280,17 @@ Extension [ extension #117 handlebars version 0.9.2 ] { } - Properties [4] { - Property [ protected $logger ] - Property [ protected $decorators ] - Property [ protected $helpers ] - Property [ protected $partials ] + Property [ protected ?Psr\Log\LoggerInterface $logger ] + Property [ protected ?Handlebars\Registry $decorators ] + Property [ protected ?Handlebars\Registry $helpers ] + Property [ protected ?Handlebars\Registry $partials ] } - Methods [13] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ array or NULL $options ] + Parameter #0 [ ?array $options ] } } @@ -1176,7 +1314,7 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [2] { Parameter #0 [ string $tmpl ] - Parameter #1 [ array or NULL $options ] + Parameter #1 [ ?array $options = ] } - Return [ string ] } @@ -1185,8 +1323,8 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [3] { Parameter #0 [ string $tmpl ] - Parameter #1 [ $context ] - Parameter #2 [ array or NULL $options ] + Parameter #1 [ $context = ] + Parameter #2 [ ?array $options = ] } - Return [ string ] } @@ -1195,8 +1333,8 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [3] { Parameter #0 [ string $filename ] - Parameter #1 [ $context ] - Parameter #2 [ array or NULL $options ] + Parameter #1 [ $context = ] + Parameter #2 [ ?array $options = ] } - Return [ string ] } @@ -1205,8 +1343,8 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [3] { Parameter #0 [ string $binaryString ] - Parameter #1 [ $context ] - Parameter #2 [ array or NULL $options ] + Parameter #1 [ $context = ] + Parameter #2 [ ?array $options = ] } - Return [ string ] } @@ -1215,28 +1353,28 @@ Extension [ extension #117 handlebars version 0.9.2 ] { - Parameters [0] { } - - Return [ Handlebars\Registry or NULL ] + - Return [ ?Handlebars\Registry ] } Method [ public method getPartials ] { - Parameters [0] { } - - Return [ Handlebars\Registry or NULL ] + - Return [ ?Handlebars\Registry ] } Method [ public method getDecorators ] { - Parameters [0] { } - - Return [ Handlebars\Registry or NULL ] + - Return [ ?Handlebars\Registry ] } Method [ public method getLogger ] { - Parameters [0] { } - - Return [ Psr\Logger\LoggerInterface or NULL ] + - Return [ ?Psr\Logger\LoggerInterface ] } Method [ public method setDecorators ] { -- cgit