Passed
Push — master ( 913c0a...fd8403 )
by Ondřej
05:45
created
src/Ivory/Connection/ITypeControl.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
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\Connection;
4 4
 
5 5
 use Ivory\Type\ITypeDictionary;
Please login to merge, or discard this patch.
src/Ivory/Relation/IRelation.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
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\Relation;
4 4
 
5 5
 use Ivory\Data\Set\ISet;
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/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/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.
src/Ivory/Connection/DateStyle.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
 /**
Please login to merge, or discard this patch.