Skip to content

Commit

Permalink
Fix public static functions of Sound and Attachment classes
Browse files Browse the repository at this point in the history
  • Loading branch information
slunak committed Jun 28, 2020
1 parent 8d7c4fe commit f5745a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Api/Message/Attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function __construct(string $filename, string $mimeType)
*
* @return array
*/
static function getSupportedAttachmentTypes(): array
public static function getSupportedAttachmentTypes(): array
{
$oClass = new \ReflectionClass(__CLASS__);
return $oClass->getConstants();
Expand All @@ -105,7 +105,7 @@ static function getSupportedAttachmentTypes(): array
*
* @return array
*/
static function getSupportedAttachmentExtensions(): array
public static function getSupportedAttachmentExtensions(): array
{
return array(
'bmp', 'gif', 'ico', 'jpeg', 'jpg', 'png', 'svg', 'tif', 'tiff', 'webp'
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Message/Sound.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function __construct(string $sound)
*
* @return array
*/
static function getAvailableSounds(): array
public static function getAvailableSounds(): array
{
$oClass = new \ReflectionClass(__CLASS__);
return $oClass->getConstants();
Expand Down

0 comments on commit f5745a6

Please sign in to comment.