Completed
Branch master (a03d84)
by Pierre
02:04
created
src/Converter/LeapYearCalculatorInterface.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@
 block discarded – undo
37 37
     /**
38 38
      * Gets year & dayIndex (in that year) from an eraDayIndex
39 39
      *
40
-     * @param integer $eraDayindex
40
+     * @param integer $eraDayIndex
41 41
      *
42
-     * @return array [$year, $dayIndex]
42
+     * @return integer[] [$year, $dayIndex]
43 43
      */
44 44
     public function getYearAndDayIndexFromErayDayIndex($eraDayIndex);
45 45
 }
Please login to merge, or discard this patch.
src/Factory/ConfigurableFactory.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -369,6 +369,11 @@
 block discarded – undo
369 369
         ));
370 370
     }
371 371
 
372
+    /**
373
+     * @param string $name
374
+     * @param string[] $list
375
+     * @param string $default
376
+     */
372 377
     protected function getOptionValueChoice(array $options, $name, $list, $default = null)
373 378
     {
374 379
         $value = $this->getOptionValue($options, $name, $default);
Please login to merge, or discard this patch.
src/PresetFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * Class constructor.
28 28
      *
29
-     * @param FormatterInterface $Formatter Formatter
29
+     * @param FormatterInterface $formatter Formatter
30 30
      * @param string            $format   Date format
31 31
      */
32 32
     public function __construct(FormatterInterface $formatter, $format)
Please login to merge, or discard this patch.
src/ValueObject/AbstractFragmentedDuration.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     /**
163 163
      * Set all sizes, adding null values if needed.
164 164
      *
165
-     * @param array<integer|null> $sizes
165
+     * @param integer[] $sizes
166 166
      *
167 167
      * @return static a new instance.
168 168
      */
@@ -254,7 +254,6 @@  discard block
 block discarded – undo
254 254
     /**
255 255
      * Set fragments sizes, adding null sizes if needed.
256 256
      *
257
-     * @param array<integer|null> $sizes
258 257
      */
259 258
     protected function fillArrayInput(array $input)
260 259
     {
Please login to merge, or discard this patch.
src/ValueObject/DateRepresentationInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,6 @@
 block discarded – undo
76 76
     /**
77 77
      * Gets a new date instance having the input timezone.
78 78
      *
79
-     * @param DateTimeZone $offset
80 79
      *
81 80
      * @return static
82 81
      */
Please login to merge, or discard this patch.
src/ValueObject/DateSolarRepresentationInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     /**
51 51
      * Gets a new instance with inpu indexes.
52 52
      *
53
-     * @param integer|null $dayIndex
53
+     * @param integer|null $dayindex
54 54
      * @param integer|null $eraDayIndex
55 55
      *
56 56
      * @return static
Please login to merge, or discard this patch.
src/ValueObject/Time.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      * Class constructor.
35 35
      *
36 36
      * @param array        $fragments
37
-     * @param array        $sizes
37
+     * @param integer[]        $sizes
38 38
      * @param integer|null $ratio
39 39
      */
40 40
     public function __construct(array $fragments = [], array $sizes = [], $ratio = null)
@@ -106,6 +106,9 @@  discard block
 block discarded – undo
106 106
         return $this->fragments[$i] % $half;
107 107
     }
108 108
 
109
+    /**
110
+     * @param integer $i
111
+     */
109 112
     public function canBeHalved($i)
110 113
     {
111 114
         if (isset($this->halved[$i])) {
Please login to merge, or discard this patch.