Completed
Push — master ( 62abe7...0c1f67 )
by Nikola
01:14
created
src/Version.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@  discard block
 block discarded – undo
23 23
 
24 24
     protected static $comparator;
25 25
 
26
+    /**
27
+     * @param null|Build $build
28
+     */
26 29
     protected function __construct(int $major, int $minor, int $patch, ?PreRelease $preRelease, ?Build $build)
27 30
     {
28 31
         VersionAssert::that($major)->greaterOrEqualThan(0, 'Major version must be positive integer');
@@ -110,7 +113,7 @@  discard block
 block discarded – undo
110 113
     }
111 114
 
112 115
     /**
113
-     * @param Version|string $version
116
+     * @param Version $version
114 117
      * @return bool
115 118
      */
116 119
     public function isGreaterThan($version): bool
@@ -119,7 +122,7 @@  discard block
 block discarded – undo
119 122
     }
120 123
 
121 124
     /**
122
-     * @param Version|string $version
125
+     * @param Version $version
123 126
      * @return bool
124 127
      */
125 128
     public function isGreaterOrEqualTo($version): bool
@@ -128,7 +131,7 @@  discard block
 block discarded – undo
128 131
     }
129 132
 
130 133
     /**
131
-     * @param Version|string $version
134
+     * @param Version $version
132 135
      * @return bool
133 136
      */
134 137
     public function isLessThan($version): bool
@@ -137,7 +140,7 @@  discard block
 block discarded – undo
137 140
     }
138 141
 
139 142
     /**
140
-     * @param Version|string $version
143
+     * @param Version $version
141 144
      * @return bool
142 145
      */
143 146
     public function isLessOrEqualTo($version): bool
Please login to merge, or discard this patch.