| 1 | <?php |
||
| 9 | final class Description extends AbstractKsql |
||
| 10 | { |
||
| 11 | /** @var string */ |
||
| 12 | private $name; |
||
| 13 | |||
| 14 | /** @var RunningQuery[] */ |
||
| 15 | private $readQueries; |
||
| 16 | |||
| 17 | /** @var RunningQuery[] */ |
||
| 18 | private $writeQueries; |
||
| 19 | |||
| 20 | /** @var FieldSchema */ |
||
| 21 | private $schema; |
||
| 22 | |||
| 23 | /** @var string */ |
||
| 24 | private $type; |
||
| 25 | |||
| 26 | /** @var string */ |
||
| 27 | private $key; |
||
| 28 | |||
| 29 | /** @var string */ |
||
| 30 | private $timestamp; |
||
| 31 | |||
| 32 | /** @var string */ |
||
| 33 | private $statistics; |
||
| 34 | |||
| 35 | /** @var string */ |
||
| 36 | private $errorStats; |
||
| 37 | |||
| 38 | /** @var bool */ |
||
| 39 | private $extended; |
||
| 40 | |||
| 41 | /** @var int */ |
||
| 42 | private $partitions; |
||
| 43 | |||
| 44 | /** @var int */ |
||
| 45 | private $replication; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param string $statementText |
||
| 49 | * @param string $name |
||
| 50 | * @param array $readQueries |
||
| 51 | * @param array $writeQueries |
||
| 52 | * @param array $schema |
||
| 53 | * @param string $type |
||
| 54 | * @param string $key |
||
| 55 | * @param string $timestamp |
||
| 56 | * @param string $statistics |
||
| 57 | * @param string $errorStats |
||
| 58 | * @param bool $extended |
||
| 59 | * @param int $partitions |
||
| 60 | * @param int $replication |
||
| 61 | */ |
||
| 62 | public function __construct( |
||
| 91 | |||
| 92 | /** |
||
| 93 | * @return string |
||
| 94 | */ |
||
| 95 | public function getName(): string |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @return RunningQuery[] |
||
| 102 | */ |
||
| 103 | public function getReadQueries(): array |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @return RunningQuery[] |
||
| 110 | */ |
||
| 111 | public function getWriteQueries(): array |
||
| 115 | |||
| 116 | /** |
||
| 117 | * @return FieldSchema |
||
| 118 | */ |
||
| 119 | public function getSchema(): FieldSchema |
||
| 123 | |||
| 124 | /** |
||
| 125 | * @return string |
||
| 126 | */ |
||
| 127 | public function getType(): string |
||
| 131 | |||
| 132 | /** |
||
| 133 | * @return string |
||
| 134 | */ |
||
| 135 | public function getKey(): string |
||
| 139 | |||
| 140 | /** |
||
| 141 | * @return string |
||
| 142 | */ |
||
| 143 | public function getTimestamp(): string |
||
| 147 | |||
| 148 | /** |
||
| 149 | * @return string |
||
| 150 | */ |
||
| 151 | public function getStatistics(): string |
||
| 155 | |||
| 156 | /** |
||
| 157 | * @return string |
||
| 158 | */ |
||
| 159 | public function getErrorStats(): string |
||
| 163 | |||
| 164 | /** |
||
| 165 | * @return bool |
||
| 166 | */ |
||
| 167 | public function isExtended(): bool |
||
| 171 | |||
| 172 | /** |
||
| 173 | * @return int |
||
| 174 | */ |
||
| 175 | public function getPartitions(): int |
||
| 179 | |||
| 180 | /** |
||
| 181 | * @return int |
||
| 182 | */ |
||
| 183 | public function getReplication(): int |
||
| 187 | } |
||
| 188 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..