Skip to content

Commit

Permalink
Merge pull request #311 from Hanson/analysis-0g10Ge
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Hanson authored Jan 17, 2020
2 parents 5b07136 + 4d5c0ff commit da22871
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/Message/Emoticon.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

class Emoticon extends Message implements MessageInterface
{
use SendAble, Multimedia;

use SendAble;
use Multimedia;
const API = 'webwxsendemoticon?fun=sys&f=json&';
const DOWNLOAD_API = 'webwxgetmsgimg?&MsgID=';
const EXT = '.gif';
Expand Down
4 changes: 2 additions & 2 deletions src/Message/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

class File extends Message implements MessageInterface
{
use Multimedia, SendAble;

use Multimedia;
use SendAble;
const API = 'webwxsendappmsg?fun=async&f=json&';
const DOWNLOAD_API = 'webwxgetmedia';
const TYPE = 'file';
Expand Down
4 changes: 2 additions & 2 deletions src/Message/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

class Image extends Message implements MessageInterface
{
use Multimedia, SendAble;

use Multimedia;
use SendAble;
const API = 'webwxsendmsgimg?fun=async&f=json&';
const DOWNLOAD_API = 'webwxgetmsgimg?&MsgID=';
const EXT = '.jpg';
Expand Down
4 changes: 2 additions & 2 deletions src/Message/Video.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

class Video extends Message implements MessageInterface
{
use SendAble, Multimedia;

use SendAble;
use Multimedia;
const API = 'webwxsendvideomsg?fun=async&f=json&';
const DOWNLOAD_API = 'webwxgetvideo?msgid=';
const EXT = '.mp4';
Expand Down
4 changes: 2 additions & 2 deletions src/Message/Voice.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

class Voice extends Message implements MessageInterface
{
use Multimedia, SendAble;

use Multimedia;
use SendAble;
const API = 'webwxsendappmsg?fun=async&f=json&';
const DOWNLOAD_API = 'webwxgetvoice?msgid=';
const EXT = '.mp3';
Expand Down

0 comments on commit da22871

Please sign in to comment.