Passed
Push — master ( 0c19f1...8279ff )
by Ondřej
06:33
created
src/Ivory/Value/Box.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Ivory\Value;
4 4
 
5 5
 /**
Please login to merge, or discard this patch.
src/Ivory/Value/Circle.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Ivory\Value;
4 4
 
5 5
 /**
Please login to merge, or discard this patch.
src/Ivory/Value/LineSegment.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Ivory\Value;
4 4
 
5 5
 /**
Please login to merge, or discard this patch.
src/Ivory/Value/Point.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Ivory/Value/Quantity.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Ivory/Connection/StatementExecution.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Ivory/Connection/IPCControl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Ivory/Connection/ITransactionControl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Ivory/Connection/ConnectionControl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.