@@ -22,6 +22,7 @@ discard block |
||
| 22 | 22 | * Flushes the type dictionary currently in use, leading to loading a fresh new type dictionary. |
| 23 | 23 | * |
| 24 | 24 | * Useful when the data types change during the script execution in such a way Ivory is unable to detect it. |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | function flushTypeDictionary(): void; |
| 27 | 28 | |
@@ -29,6 +30,7 @@ discard block |
||
| 29 | 30 | * Sets an implementation-specific option, driving behaviour of the type control. |
| 30 | 31 | * |
| 31 | 32 | * @param int $option |
| 33 | + * @return void |
|
| 32 | 34 | */ |
| 33 | 35 | function setTypeControlOption(int $option): void; |
| 34 | 36 | |
@@ -36,6 +38,7 @@ discard block |
||
| 36 | 38 | * Unsets an implementation-specific option, driving behaviour of the type control. |
| 37 | 39 | * |
| 38 | 40 | * @param int $option |
| 41 | + * @return void |
|
| 39 | 42 | */ |
| 40 | 43 | function unsetTypeControlOption(int $option): void; |
| 41 | 44 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Ivory\Connection; |
| 4 | 4 | |
| 5 | 5 | use Ivory\Type\ITypeDictionary; |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | /** |
| 163 | 163 | * Projects a single column from this relation. |
| 164 | 164 | * |
| 165 | - * @param int|string|ITupleEvaluator|\Closure $offsetOrNameOrEvaluator |
|
| 165 | + * @param integer $offsetOrNameOrEvaluator |
|
| 166 | 166 | * Zero-based offset or (non-numeric) name of column to project from this relation, |
| 167 | 167 | * or an evaluator which computes each value from the tuple. |
| 168 | 168 | * As an evaluator, either {@link ITupleEvaluator} (the |
@@ -318,12 +318,12 @@ discard block |
||
| 318 | 318 | function tuple(int $offset = 0): ITuple; |
| 319 | 319 | |
| 320 | 320 | /** |
| 321 | - * @param int|string|ITupleEvaluator|\Closure $colOffsetOrNameOrEvaluator |
|
| 321 | + * @param integer $colOffsetOrNameOrEvaluator |
|
| 322 | 322 | * Specification of column from which to get the value. See {@link col()} for more |
| 323 | 323 | * details on the column specification. |
| 324 | 324 | * @param int $tupleOffset zero-based offset of the tuple to get; |
| 325 | 325 | * if negative, the <tt>-$tupleOffset</tt>'th tuple from the end is returned |
| 326 | - * @return mixed |
|
| 326 | + * @return string |
|
| 327 | 327 | * @throws \OutOfBoundsException when this relation has fewer than <tt>$tupleOffset+1</tt> tuples, or fewer than |
| 328 | 328 | * <tt>-$tupleOffset</tt> tuples if <tt>$tupleOffset</tt> is negative |
| 329 | 329 | * @throws UndefinedColumnException if no column matches the specification |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Ivory\Relation; |
| 4 | 4 | |
| 5 | 5 | use Ivory\Data\Set\ISet; |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * Creates a new circle by its center point and radius. |
| 18 | 18 | * |
| 19 | - * @param Point|float[] $center the center point |
|
| 19 | + * @param Point $center the center point |
|
| 20 | 20 | * @param float $radius radius of the circle |
| 21 | 21 | * @return Circle |
| 22 | 22 | */ |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Ivory\Value; |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -18,8 +18,8 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Creates a new line segment from its start and end point, each as either a {@link Point} or a pair of coordinates. |
| 20 | 20 | * |
| 21 | - * @param Point|float[] $start |
|
| 22 | - * @param Point|float[] $end |
|
| 21 | + * @param Point $start |
|
| 22 | + * @param Point $end |
|
| 23 | 23 | * @return LineSegment |
| 24 | 24 | */ |
| 25 | 25 | public static function fromEndpoints($start, $end): LineSegment |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Ivory\Value; |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -99,7 +99,7 @@ |
||
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | /** |
| 102 | - * @param string|int|float $value number of {@link is_numeric() numeric} string |
|
| 102 | + * @param string $value number of {@link is_numeric() numeric} string |
|
| 103 | 103 | * @param string|null $unit unit of the quantity, or empty string or <tt>null</tt> for dimensionless quantity |
| 104 | 104 | * @return Quantity |
| 105 | 105 | */ |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Ivory\Value; |
| 4 | 4 | |
| 5 | 5 | use Ivory\Exception\UndefinedOperationException; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Ivory\Connection; |
| 4 | 4 | |
| 5 | 5 | use Ivory\Exception\InvalidStateException; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Ivory\Connection; |
| 4 | 4 | |
| 5 | 5 | class IPCControl implements IIPCControl |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Ivory\Connection; |
| 4 | 4 | |
| 5 | 5 | use Ivory\Exception\ConnectionException; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Ivory\Connection; |
| 4 | 4 | |
| 5 | 5 | /** |