@@ -18,8 +18,8 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Creates a new box from a corner and its opposite corner, each as either a {@link Point} or a pair of coordinates. |
| 20 | 20 | * |
| 21 | - * @param Point|float[] $corner |
|
| 22 | - * @param Point|float[] $oppositeCorner |
|
| 21 | + * @param Point $corner |
|
| 22 | + * @param Point $oppositeCorner |
|
| 23 | 23 | * @return Box |
| 24 | 24 | */ |
| 25 | 25 | public static function fromOppositeCorners($corner, $oppositeCorner): Box |
@@ -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 | /** |
@@ -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 | /** |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | - * @param object $object |
|
| 79 | + * @param Point $object |
|
| 80 | 80 | * @return bool|null <tt>true</tt> if <tt>$this</tt> and the other <tt>$object</tt> are equal to each other, |
| 81 | 81 | * <tt>false</tt> if they are not equal, |
| 82 | 82 | * <tt>null</tt> iff <tt>$object</tt> is <tt>null</tt> |
@@ -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\Utils\IEqualable; |
@@ -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\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 | use Ivory\Exception\ConnectionException; |