Completed
Push — master ( f7498d...cd0397 )
by Tomasz
02:42
created
src/Gendoria/CruftFlake/Generator.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -159,6 +159,11 @@  discard block
 block discarded – undo
159 159
         return new GeneratorStatus($this->machine, $this->lastTime, $this->sequence, (PHP_INT_SIZE === 4));
160 160
     }
161 161
 
162
+    /**
163
+     * @param double $timestamp
164
+     * @param integer $machine
165
+     * @param integer $sequence
166
+     */
162 167
     private function mintId32($timestamp, $machine, $sequence)
163 168
     {
164 169
         $hi = (int) ($timestamp / pow(2, 10));
@@ -175,6 +180,11 @@  discard block
 block discarded – undo
175 180
         return (string) $value;
176 181
     }
177 182
 
183
+    /**
184
+     * @param double $timestamp
185
+     * @param integer $machine
186
+     * @param integer $sequence
187
+     */
178 188
     private function mintId64($timestamp, $machine, $sequence)
179 189
     {
180 190
         $timestamp = (int) $timestamp;
Please login to merge, or discard this patch.
src/Gendoria/CruftFlake/ServerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -15,6 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     /**
17 17
      * Run CruftFlake server.
18
+     * @return void
18 19
      */
19 20
     public function run();
20 21
 }
Please login to merge, or discard this patch.
src/Gendoria/CruftFlake/Timer/Timer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * 
15 15
      * (Number of whole milliseconds that have passed since 1970-01-01
16 16
      * 
17
-     * @return int
17
+     * @return double
18 18
      */
19 19
     public function getUnixTimestamp()
20 20
     {
Please login to merge, or discard this patch.