Passed
Push — master ( 913c0a...fd8403 )
by Ondřej
05:45
created
src/Ivory/Value/Decimal.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
      * which might or might not be desired. Such a difference only arises in the trailing fractional zero digits,
255 255
      * though.
256 256
      *
257
-     * @param string|int|float|Decimal|object $number number to compare this number with
257
+     * @param Decimal $number number to compare this number with
258 258
      * @return bool whether this number numerically equals to <tt>$number</tt>
259 259
      */
260 260
     public function equals($number): bool
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
     }
276 276
 
277 277
     /**
278
-     * @param string|int|float|Decimal|object $number
278
+     * @param Decimal $number
279 279
      * @return bool <tt>true</tt> iff this number is numerically greater than <tt>$number</tt>
280 280
      */
281 281
     public function greaterThan($number): bool
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
     }
361 361
 
362 362
     /**
363
-     * @param string|int|float|Decimal|object $augend
363
+     * @param integer $augend
364 364
      * @return Decimal a new decimal number, representing the result of sum of this and the given number
365 365
      */
366 366
     public function add($augend): Decimal
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
     }
378 378
 
379 379
     /**
380
-     * @param string|int|float|Decimal|object $subtrahend
380
+     * @param Decimal $subtrahend
381 381
      * @return Decimal a new decimal number, representing the result of subtraction of this and the given number
382 382
      */
383 383
     public function subtract($subtrahend): Decimal
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
     }
395 395
 
396 396
     /**
397
-     * @param string|int|float|Decimal|object $multiplicand
397
+     * @param Decimal $multiplicand
398 398
      * @return Decimal a new decimal number, representing the result of multiplication of this and the given number
399 399
      */
400 400
     public function multiply($multiplicand): Decimal
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
     }
412 412
 
413 413
     /**
414
-     * @param string|int|float|Decimal|object $divisor
414
+     * @param Decimal $divisor
415 415
      * @return Decimal a new decimal number, representing the result of division of this number with the given number
416 416
      * @throws \RuntimeException if <tt>$divisor</tt> is zero
417 417
      */
Please login to merge, or discard this patch.
src/Ivory/Type/ITypeDictionary.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -56,6 +56,7 @@  discard block
 block discarded – undo
56 56
      * Defines the handler consulted when a data type is required but not found.
57 57
      *
58 58
      * @param ITypeDictionaryUndefinedHandler|null $undefinedTypeHandler
59
+     * @return void
59 60
      */
60 61
     function setUndefinedTypeHandler(?ITypeDictionaryUndefinedHandler $undefinedTypeHandler): void;
61 62
 
@@ -67,6 +68,7 @@  discard block
 block discarded – undo
67 68
      * pattern arguments.
68 69
      *
69 70
      * @param string[] $schemaList
71
+     * @return void
70 72
      */
71 73
     function setTypeSearchPath(array $schemaList): void;
72 74
 
@@ -74,6 +76,7 @@  discard block
 block discarded – undo
74 76
      * Attach connection-dependent objects in this dictionary to a connection.
75 77
      *
76 78
      * @param IConnection $connection connection to attach the dictionary to
79
+     * @return void
77 80
      */
78 81
     function attachToConnection(IConnection $connection): void;
79 82
 
@@ -81,6 +84,7 @@  discard block
 block discarded – undo
81 84
      * Detach any objects in this dictionary from the database connection.
82 85
      *
83 86
      * After this operation, the dictionary must be safe for serialization.
87
+     * @return void
84 88
      */
85 89
     function detachFromConnection(): void;
86 90
 }
Please login to merge, or discard this patch.
src/Ivory/Value/Range.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -188,6 +188,9 @@  discard block
 block discarded – undo
188 188
         return new Range(true, null, null, null, null, $comparator, null);
189 189
     }
190 190
 
191
+    /**
192
+     * @param boolean $upperInc
193
+     */
191 194
     private static function processBoundSpec($boundsOrLowerInc = '[)', ?bool $upperInc = null)
192 195
     {
193 196
         if (is_string($boundsOrLowerInc)) {
@@ -214,6 +217,11 @@  discard block
 block discarded – undo
214 217
     }
215 218
 
216 219
 
220
+    /**
221
+     * @param boolean|null $lowerInc
222
+     * @param boolean|null $upperInc
223
+     * @param null|IDiscreteStepper $discreteStepper
224
+     */
217 225
     private function __construct(
218 226
         bool $empty,
219 227
         $lower,
Please login to merge, or discard this patch.
src/Ivory/Relation/FilteredColumn.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\Relation;
4 4
 
5 5
 use Ivory\Value\Alg\CallbackValueFilter;
Please login to merge, or discard this patch.
src/Ivory/Relation/FilteredRelation.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\Relation;
4 4
 
5 5
 use Ivory\Value\Alg\CallbackTupleFilter;
Please login to merge, or discard this patch.
src/Ivory/Relation/Column.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\Relation;
4 4
 
5 5
 use Ivory\Value\Alg\CallbackValueEqualizer;
Please login to merge, or discard this patch.
src/Ivory/Relation/IColumn.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\Relation;
4 4
 
5 5
 use Ivory\Value\Alg\IValueEqualizer;
Please login to merge, or discard this patch.
src/Ivory/Value/Point.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\Value;
4 4
 
5 5
 use Ivory\Exception\IncomparableException;
Please login to merge, or discard this patch.
src/Ivory/Value/EnumItem.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\Value;
4 4
 
5 5
 use Ivory\Exception\IncomparableException;
Please login to merge, or discard this patch.