File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Models/Consumer/FileSharing Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ public function parseInput(string | object $input): string
178
178
throw new PubNubResponseParsingException ("Decryption error: message is not a string or object " );
179
179
}
180
180
181
- if (strlen ($ input ) == '' ) {
181
+ if (trim ($ input ) == '' ) {
182
182
throw new PubNubResponseParsingException ("Decryption error: message is empty " );
183
183
}
184
184
return $ input ;
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ public function sync(): string
246
246
247
247
/**
248
248
* @param string $token
249
- * @return : string
249
+ * @return string
250
250
*/
251
251
public function createResponse ($ response ): string
252
252
{
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public function __construct($result)
13
13
14
14
public function __toString ()
15
15
{
16
- return "Get file URL success with URL: %s " % $ this ->fileUrl ;
16
+ return sprintf ( "Get file URL success with URL: %s " , $ this ->fileUrl ) ;
17
17
}
18
18
19
19
public function getFileUrl ()
You can’t perform that action at this time.
0 commit comments