@@ -83,7 +83,7 @@ |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @param double|integer $wait_time |
|
86 | + * @param integer $wait_time |
|
87 | 87 | * |
88 | 88 | * @throws QueueException |
89 | 89 | */ |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | /** |
126 | 126 | * Блокируем index mutex |
127 | 127 | * |
128 | - * @param double|integer $time |
|
128 | + * @param integer $time |
|
129 | 129 | * |
130 | 130 | * @return boolean |
131 | 131 | */ |
@@ -511,7 +511,7 @@ discard block |
||
511 | 511 | } |
512 | 512 | |
513 | 513 | /** |
514 | - * @param double|integer $wait_time |
|
514 | + * @param integer $wait_time |
|
515 | 515 | * |
516 | 516 | * @return iMessage|object|null |
517 | 517 | */ |
@@ -28,7 +28,7 @@ |
||
28 | 28 | /** |
29 | 29 | * SmartQueue constructor. |
30 | 30 | * |
31 | - * @param GeneralQueueConstructionSettings|object $settings |
|
31 | + * @param GeneralQueueConstructionSettings $settings |
|
32 | 32 | * |
33 | 33 | * @throws QueueException |
34 | 34 | */ |
@@ -64,7 +64,7 @@ |
||
64 | 64 | /** |
65 | 65 | * @param GeneralQueueConstructionSettings $settings |
66 | 66 | * |
67 | - * @return Queue[] |
|
67 | + * @return SmallFilesQueueConstructionSettingsForGeneral[] |
|
68 | 68 | */ |
69 | 69 | protected static function get_scenario2_queues($settings) { |
70 | 70 | /** |
@@ -11,6 +11,7 @@ discard block |
||
11 | 11 | * @param integer $sort |
12 | 12 | * |
13 | 13 | * @throws QueueException |
14 | + * @return void |
|
14 | 15 | */ |
15 | 16 | function produce_message($data, $name = null, $sort = 5); |
16 | 17 | |
@@ -27,11 +28,12 @@ discard block |
||
27 | 28 | * @param iMessage[]|iMessage|object[]|object $stream |
28 | 29 | * |
29 | 30 | * @throws QueueException |
31 | + * @return void |
|
30 | 32 | */ |
31 | 33 | function push($stream); |
32 | 34 | |
33 | 35 | /** |
34 | - * @param double|integer $wait_time |
|
36 | + * @param integer $wait_time |
|
35 | 37 | * |
36 | 38 | * @return iMessage|object|null |
37 | 39 | */ |
@@ -63,14 +65,16 @@ discard block |
||
63 | 65 | static function get_real_key_for_message($message); |
64 | 66 | |
65 | 67 | /** |
66 | - * @param double|integer $wait_time |
|
68 | + * @param integer $wait_time |
|
67 | 69 | * |
68 | 70 | * @throws QueueException |
71 | + * @return void |
|
69 | 72 | */ |
70 | 73 | function listen($wait_time = -1); |
71 | 74 | |
72 | 75 | /** |
73 | 76 | * @param callable $closure |
77 | + * @return void |
|
74 | 78 | */ |
75 | 79 | function set_callback_closure($closure); |
76 | 80 | |
@@ -88,6 +92,7 @@ discard block |
||
88 | 92 | |
89 | 93 | /** |
90 | 94 | * Очищаем список полученных ключей, чтобы была возможность получить их заново |
95 | + * @return void |
|
91 | 96 | */ |
92 | 97 | function clear_consumed_keys(); |
93 | 98 |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
100 | - * @param double|integer $wait_time |
|
100 | + * @param integer $wait_time |
|
101 | 101 | * |
102 | 102 | * @return iMessage|object|null |
103 | 103 | * @throws QueueException |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | } |
135 | 135 | |
136 | 136 | /** |
137 | - * @param double|integer $wait_time |
|
137 | + * @param integer $wait_time |
|
138 | 138 | * |
139 | 139 | * @return iMessage|object|null |
140 | 140 | * @throws QueueException |