You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Bolt.php
+23-25Lines changed: 23 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -182,58 +182,56 @@ private function packProtocolVersions(): string
182
182
/**
183
183
* Send INIT message
184
184
*
185
-
* @note The usage of $user, $password, $routing and $metadata is deprecated. Please use helpers\Auth to generate an authentication strategy as an array.
186
-
*
187
-
* @param array|string $nameOrExtra You can use helpers\Auth to generate required array or use the deprecated approach to fill in $name, $user and $password
185
+
* @param array|string $userAgentOrExtra You can use helpers\Auth to generate required array or use the deprecated approach to fill in $name, $user and $password
188
186
* @param string|null $user
189
187
* @param string|null $password
190
-
* @param array|null $routing
188
+
* @param array|null|bool $routing
191
189
* @param array $metadata
192
190
*
193
-
* @return array
191
+
* @return bool
194
192
* @throws Exception
193
+
* @deprecated The usage of $user, $password, $routing and $metadata is deprecated. Please use helpers\Auth to generate an authentication strategy as an array.
* @note The usage of $user, $password, $routing and $metadata is deprecated. Please use helpers\Auth to generate an authentication strategy as an array.
223
-
*
224
-
* @param array|string $nameOrExtra You can use helpers\Auth to generate required array or use the deprecated approach to fill in $name, $user and $password
225
-
* @param string|null $user
226
-
* @param string|null $password
227
-
* @param array|null $routing
220
+
* @param array|string $userAgentOrExtra You can use helpers\Auth to generate required array or use the deprecated approach to fill in $name, $user and $password
221
+
* @param string $user
222
+
* @param string $password
223
+
* @param array|null|bool $routing
228
224
* @param array $metadata
229
225
*
230
-
* @return array
226
+
* @return bool
231
227
* @throws Exception
228
+
* @deprecated The usage of $user, $password, $routing and $metadata is deprecated. Please use helpers\Auth to generate an authentication strategy as an array.
0 commit comments