@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | * which might or might not be desired. Such a difference only arises in the trailing fractional zero digits, |
| 255 | 255 | * though. |
| 256 | 256 | * |
| 257 | - * @param string|int|float|Decimal|object $number number to compare this number with |
|
| 257 | + * @param Decimal $number number to compare this number with |
|
| 258 | 258 | * @return bool whether this number numerically equals to <tt>$number</tt> |
| 259 | 259 | */ |
| 260 | 260 | public function equals($number): bool |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | } |
| 276 | 276 | |
| 277 | 277 | /** |
| 278 | - * @param string|int|float|Decimal|object $number |
|
| 278 | + * @param Decimal $number |
|
| 279 | 279 | * @return bool <tt>true</tt> iff this number is numerically greater than <tt>$number</tt> |
| 280 | 280 | */ |
| 281 | 281 | public function greaterThan($number): bool |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | } |
| 361 | 361 | |
| 362 | 362 | /** |
| 363 | - * @param string|int|float|Decimal|object $augend |
|
| 363 | + * @param integer $augend |
|
| 364 | 364 | * @return Decimal a new decimal number, representing the result of sum of this and the given number |
| 365 | 365 | */ |
| 366 | 366 | public function add($augend): Decimal |
@@ -377,7 +377,7 @@ discard block |
||
| 377 | 377 | } |
| 378 | 378 | |
| 379 | 379 | /** |
| 380 | - * @param string|int|float|Decimal|object $subtrahend |
|
| 380 | + * @param Decimal $subtrahend |
|
| 381 | 381 | * @return Decimal a new decimal number, representing the result of subtraction of this and the given number |
| 382 | 382 | */ |
| 383 | 383 | public function subtract($subtrahend): Decimal |
@@ -394,7 +394,7 @@ discard block |
||
| 394 | 394 | } |
| 395 | 395 | |
| 396 | 396 | /** |
| 397 | - * @param string|int|float|Decimal|object $multiplicand |
|
| 397 | + * @param Decimal $multiplicand |
|
| 398 | 398 | * @return Decimal a new decimal number, representing the result of multiplication of this and the given number |
| 399 | 399 | */ |
| 400 | 400 | public function multiply($multiplicand): Decimal |
@@ -411,7 +411,7 @@ discard block |
||
| 411 | 411 | } |
| 412 | 412 | |
| 413 | 413 | /** |
| 414 | - * @param string|int|float|Decimal|object $divisor |
|
| 414 | + * @param Decimal $divisor |
|
| 415 | 415 | * @return Decimal a new decimal number, representing the result of division of this number with the given number |
| 416 | 416 | * @throws \RuntimeException if <tt>$divisor</tt> is zero |
| 417 | 417 | */ |
@@ -56,6 +56,7 @@ discard block |
||
| 56 | 56 | * Defines the handler consulted when a data type is required but not found. |
| 57 | 57 | * |
| 58 | 58 | * @param ITypeDictionaryUndefinedHandler|null $undefinedTypeHandler |
| 59 | + * @return void |
|
| 59 | 60 | */ |
| 60 | 61 | function setUndefinedTypeHandler(?ITypeDictionaryUndefinedHandler $undefinedTypeHandler): void; |
| 61 | 62 | |
@@ -67,6 +68,7 @@ discard block |
||
| 67 | 68 | * pattern arguments. |
| 68 | 69 | * |
| 69 | 70 | * @param string[] $schemaList |
| 71 | + * @return void |
|
| 70 | 72 | */ |
| 71 | 73 | function setTypeSearchPath(array $schemaList): void; |
| 72 | 74 | |
@@ -74,6 +76,7 @@ discard block |
||
| 74 | 76 | * Attach connection-dependent objects in this dictionary to a connection. |
| 75 | 77 | * |
| 76 | 78 | * @param IConnection $connection connection to attach the dictionary to |
| 79 | + * @return void |
|
| 77 | 80 | */ |
| 78 | 81 | function attachToConnection(IConnection $connection): void; |
| 79 | 82 | |
@@ -81,6 +84,7 @@ discard block |
||
| 81 | 84 | * Detach any objects in this dictionary from the database connection. |
| 82 | 85 | * |
| 83 | 86 | * After this operation, the dictionary must be safe for serialization. |
| 87 | + * @return void |
|
| 84 | 88 | */ |
| 85 | 89 | function detachFromConnection(): void; |
| 86 | 90 | } |
@@ -188,6 +188,9 @@ discard block |
||
| 188 | 188 | return new Range(true, null, null, null, null, $comparator, null); |
| 189 | 189 | } |
| 190 | 190 | |
| 191 | + /** |
|
| 192 | + * @param boolean $upperInc |
|
| 193 | + */ |
|
| 191 | 194 | private static function processBoundSpec($boundsOrLowerInc = '[)', ?bool $upperInc = null) |
| 192 | 195 | { |
| 193 | 196 | if (is_string($boundsOrLowerInc)) { |
@@ -214,6 +217,11 @@ discard block |
||
| 214 | 217 | } |
| 215 | 218 | |
| 216 | 219 | |
| 220 | + /** |
|
| 221 | + * @param boolean|null $lowerInc |
|
| 222 | + * @param boolean|null $upperInc |
|
| 223 | + * @param null|IDiscreteStepper $discreteStepper |
|
| 224 | + */ |
|
| 217 | 225 | private function __construct( |
| 218 | 226 | bool $empty, |
| 219 | 227 | $lower, |