@@ -41,11 +41,11 @@ |
||
41 | 41 | |
42 | 42 | public function __construct($token=null) |
43 | 43 | { |
44 | - if ($token===null) { |
|
45 | - throw new SineverbaException("Token cannot be empty"); |
|
46 | - } |
|
44 | + if ($token===null) { |
|
45 | + throw new SineverbaException("Token cannot be empty"); |
|
46 | + } |
|
47 | 47 | |
48 | - $this->setToken($token); |
|
48 | + $this->setToken($token); |
|
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * @param $token |
40 | 40 | */ |
41 | 41 | |
42 | - public function __construct($token=null) |
|
42 | + public function __construct($token = null) |
|
43 | 43 | { |
44 | 44 | if ($token===null) { |
45 | 45 | throw new SineverbaException("Token cannot be empty"); |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * @since 1.0.0 |
57 | 57 | * |
58 | 58 | */ |
59 | - public function createShortLink($url=null) |
|
59 | + public function createShortLink($url = null) |
|
60 | 60 | { |
61 | 61 | if ($url===null) { |
62 | 62 | throw new SineverbaException("URL cannot be empty"); |