Completed
Push — master ( 7cd110...80ad88 )
by Ondřej
07:00
created
src/Ivory/Value/Box.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
     /**
18 18
      * Creates a new box from a corner and its opposite corner, each as either a {@link Point} or a pair of coordinates.
19 19
      *
20
-     * @param Point|float[] $corner
21
-     * @param Point|float[] $oppositeCorner
20
+     * @param Point|null $corner
21
+     * @param Point|null $oppositeCorner
22 22
      * @return Box
23 23
      */
24 24
     public static function fromOppositeCorners($corner, $oppositeCorner): Box
Please login to merge, or discard this patch.
src/Ivory/Value/Circle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Creates a new circle by its center point and radius.
17 17
      *
18
-     * @param Point|float[] $center the center point
18
+     * @param Point|null $center the center point
19 19
      * @param float $radius radius of the circle
20 20
      * @return Circle
21 21
      */
Please login to merge, or discard this patch.
src/Ivory/Value/LineSegment.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
     /**
18 18
      * Creates a new line segment from its start and end point, each as either a {@link Point} or a pair of coordinates.
19 19
      *
20
-     * @param Point|float[] $start
21
-     * @param Point|float[] $end
20
+     * @param Point|null $start
21
+     * @param Point|null $end
22 22
      * @return LineSegment
23 23
      */
24 24
     public static function fromEndpoints($start, $end): LineSegment
Please login to merge, or discard this patch.