@@ -91,8 +91,6 @@ discard block |
||
| 91 | 91 | /** |
| 92 | 92 | * get the list of extra types that are valid for this specific object |
| 93 | 93 | * |
| 94 | - * @param object $object |
|
| 95 | - * the object to examine |
|
| 96 | 94 | * @return string[] |
| 97 | 95 | * a (possibly empty) list of types for this object |
| 98 | 96 | */ |
@@ -104,8 +102,6 @@ discard block |
||
| 104 | 102 | /** |
| 105 | 103 | * what PHP type is $data? |
| 106 | 104 | * |
| 107 | - * @param mixed $data |
|
| 108 | - * the data to examine |
|
| 109 | 105 | * @param int $flags |
| 110 | 106 | * options to change what we put in the return value |
| 111 | 107 | * @return string |
@@ -121,7 +117,7 @@ discard block |
||
| 121 | 117 | * |
| 122 | 118 | * @param mixed $item |
| 123 | 119 | * the item to examine |
| 124 | - * @return array |
|
| 120 | + * @return string[] |
|
| 125 | 121 | * the list of type(s) that this item can be |
| 126 | 122 | */ |
| 127 | 123 | function get_strict_types($item) |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * |
| 60 | 60 | * @param mixed $item |
| 61 | 61 | * the item to examine |
| 62 | - * @return array |
|
| 62 | + * @return string[] |
|
| 63 | 63 | * the list of type(s) that this item can be |
| 64 | 64 | */ |
| 65 | 65 | public function __invoke($item) |
@@ -42,8 +42,7 @@ |
||
| 42 | 42 | |
| 43 | 43 | $successList = $failureList = []; |
| 44 | 44 | |
| 45 | - foreach ($dataSet as $dataItem) |
|
| 46 | - { |
|
| 45 | + foreach ($dataSet as $dataItem) { |
|
| 47 | 46 | $failed = false; |
| 48 | 47 | list($retval, $output) = typeinspector_run_dataitem($inspectorName, $dataItem); |
| 49 | 48 | foreach ($failureTypes as $failureType) { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * |
| 49 | 49 | * @param array $filterList |
| 50 | 50 | * a list of namespaces and classes to skip over |
| 51 | - * @return StackFrame |
|
| 51 | + * @return GanbaroDigital\MissingBits\TraceInspectors\StackFrame |
|
| 52 | 52 | */ |
| 53 | 53 | function get_caller(array $filterList = []) |
| 54 | 54 | { |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | * the debug_backtrace() return value |
| 70 | 70 | * @param array $filterList |
| 71 | 71 | * a list of namespaces and classes to skip over |
| 72 | - * @return StackFrame |
|
| 72 | + * @return GanbaroDigital\MissingBits\TraceInspectors\StackFrame |
|
| 73 | 73 | */ |
| 74 | 74 | function get_caller_from_trace(array $backtrace, array $filterList = []) |
| 75 | 75 | { |