Passed
Branch master (b77f02)
by Alessandro
03:26
created
src/Bitly.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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");
Please login to merge, or discard this patch.